Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

My element is named myselect[], how do I access it?

element named
0
10 Posted

My element is named myselect[], how do I access it?

0

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://msdn2.microsoft.com/en-us/library/ms537449.aspx • http://docs.sun.com/source/816-6408-10/form.htm • http://www.jibbering.com/faq/faq_notes/faq_notes.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123