F
FAQ server
-----------------------------------------------------------------------
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.
http://msdn.microsoft.com/workshop/author/dhtml/reference/collections/elements.asp
http://docs.sun.com/source/816-6408-10/form.htm
http://www.jibbering.com/faq/faq_notes/faq_notes.html#FAQN4_25
===
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 http://www.jibbering.com/faq/.
The FAQ workers are a group of volunteers.
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.
http://msdn.microsoft.com/workshop/author/dhtml/reference/collections/elements.asp
http://docs.sun.com/source/816-6408-10/form.htm
http://www.jibbering.com/faq/faq_notes/faq_notes.html#FAQN4_25
===
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 http://www.jibbering.com/faq/.
The FAQ workers are a group of volunteers.