Is it your missing underscore in:
curSelector=ddlViewSelector+idCurrent;
?
But essentially what you're doing looks right.
var idCurrent = 'Search_0';
var p_viewSelector = $(select[name='dllViewSelector_+idCurrent+']
option:selected).text();
On Mar 31, 7:47 am, LinkGuru
jquery variables, quotes, string contenation etc.
jQuery doesn't *have* variables, quotes, or string concatenation.
Those are part of JavaScript, not jQuery.
I'm not being nitpicky. If you keep this fact in mind it will make it much
easier to troubleshoot.
You could spend days throwing thing
The quotes in the attr selector are not required, try:
$('select[name=ddlViewSelector_'+idCurrent+'] option:selected').text
();
On Mar 31, 2:47 pm, LinkGuru i...@legalanalytics.co.uk wrote:
Can anyone help on this one? .
The following statement is proven to work:
Apologies. A couple of silly errors. 1) its dllViewSelector not
ddlViewSelector (I do cut and paste a lot to save such mistakes,
normally - honest). And (thanks James), there was a missing
underscore. Thanks for all the other contributions to this including
Michael Geary's sensible advice. It's
Prices = Points
On Oct 22, 2:11 pm, Mr. White [EMAIL PROTECTED] wrote:
Hi guys,
I'm new on jQuery and I don't know where to go with what I want:
I have a table with multiple prices. Lets say:
(Live Points)
User | Points
5 matches
Mail list logo