Monday, March 8, 2010

Programmer - Jquery Selector not working on Internet Explorer

Programmer Question

Internet Explorer does not like my Jquery selector. Not sure if it's my weak Jquery
skills or general Explorer strangeness.



Here is the Code:



$("#field_"+index+" #field_Label").val();


[div field_1]



<input id="field_Label" //... you get the picture.


to explain this.. I have a DIV labeled field_1, field_2.. etc..
Internet explorer appears to find the first iteration, but cannot
find the second.



Thank you all, and thanks to you stackoverflow.



Is there a better way I should be doing this ?..



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails