Multiselect field array causes traversing problems

If you have a field such as,

<select multiple="multiple" name="myfield[]">
<option value="one">value one</option>
<option value="two">value two</option>
</select>

where the name is specified as an array myfield[] by using the bracket syntax, you cannot traverse this with jQuery using the standard,

$("select[@name='myfield']")

You must give the <select> an id and traverse on that or some other way.

Page Comments (Click to edit)






[Click to add or edit comments])

Please prepend comments below including a date

Design by N.Design Studio, adapted by solidGone.org (version 1.0.0)
Have a nice day.