I've got a HTML page containing elements that I need to access using JQuery. Here is an example of how the form elements are identified:
<div id="nItemID[766]Line" class="formLine ">
<span id="nItemID[766]Label" class="formLabel alignTop">Téléphone:</span>
<input id="nItemID[766]Field" class="formField" type="text" maxlength="11" value="" name="nItemID[766]" style="width: 300;">
</div>
When I try to show the ID of a particular element, it tells me: nItemID[766]Label, for example. But when I type that code, it doesn't find anything...
alert( $("#nItemID[766]Field").val() );
Could someone help me with the way to access those particular elements ?
Thank you!