Can anyone help with a problem with a JQuery Find?
In the example below I want to find the select & text objects within Div1. Here is the HTML:
<div id="div1" style="border:solid 1px #c6c8dd; background-color:#ff0000; padding:5px;">
<div style="width:916px; padding-top:10px;">
<select id="Select1" runat="server"></select> :
<input id="Text1" style="width:200px;" type="text">
</div>
</div>
Here is the jQuery:
Select1 = jQuery("#div1").find("#Select1")[0];
Text1 = jQuery("#div1").find("#Text1")[0];
Select1 comes back as undefined, but it finds the Text1 object.
Can anyone tell me why I can't find the Select1 object?