FAQ Topic - My element is named myselect[], how do I access it? (2012-05-21)
8 views
Skip to first unread message
FAQ server
unread,
May 20, 2012, 7:00:03 PM5/20/12
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
-----------------------------------------------------------------------
FAQ Topic - My element is named myselect[], how do I access
it?
-----------------------------------------------------------------------
Form controls with any "illegal" characters can be accessed with
`formref.elements["myselect[]"]` - The bracket characters,
amongst others, are illegal in ID attributes and javascript
identifiers, so you should try to avoid them as browsers may
handle them incorrectly.