Jquery Selector not working on Internet Explorer

Posted by user284503 on Stack Overflow See other posts from Stack Overflow or by user284503
Published on 2010-03-08T20:44:20Z Indexed on 2010/03/08 20:51 UTC
Read the original article Hit count: 994

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 ?..

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about selectors