| | | FAQ server |  |
| Posted: Fri Sep 05, 2008 9:00 pm Post subject: FAQ Topic - My element is named myselect[] , how do I access |  |
----------------------------------------------------------------------- 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.
LINK
LINK
LINK
-- Postings such as this are automatically sent once a day. Their goal is to answer repeated questions, and to offer the content to the community for continuous evaluation/improvement. The complete comp.lang.javascript FAQ is at LINK The FAQ workers are a group of volunteers. The sendings of these daily posts are proficiently hosted by LINK |
|