Menu
If there are square brackets [] in name of an item in a form how can you use it in javascript?
Example:
I have a simple form with several text boxes in it in a PHP page.
Textboxes are named like this:
[COLOR=”#FF0000″][B]txtbx[1], txtbx[2],…..
[COLOR=”#FF0000″][B]<input type=text size=3 name=txtbx[1] value=5>
[COLOR=”#FF0000″][B]how can I read their value with javascript?
normally it would be [COLOR=”#FF0000″][B]form.txtbx1.value
but the square bracket (for array in PHP) is causing problem.
thanks in advance