I dont think you can use a dot in a name and if you try to access the
element as document.<formname>.abc.txt.value
javascript will assume it to be two diffrenet object "abc" and "txt" and
will give an error. I thinkthe best solution would be to eliminate the dot.
cause there is no escape character for a "dot" Atleast not that i know of.
Divya M A
<divya_ma@TRIGENT To: [EMAIL PROTECTED]
.COM> cc:
Sent by: A Subject: A javascript
question.....please help
mailing list
about Java Server
Pages
specification and
reference
<JSP-INTEREST@JAV
A.SUN.COM>
05/04/00 04:41 AM
Please respond to
A mailing list
about Java Server
Pages
specification and
reference
I have an input box in a form with the name having a dot in it,;i.e; a
name like "abc.txt". I want to read the value of this input box in a
javascript function. How do I do it?
Thanx in advance,
Divya.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets