I have multiple elements that have ID's (and names) in the form :
id="foo[1]"
id="foo[2]"
However, I can't seem to get the value back out using:
$('#foo[1]').val();
What's the correct syntax for accessing these multi-dimensional arrays in Jquery.
Thanks.