hi friends,
i am facing a problem
i have generated some text fields in a jsp page
depending upon the
some i/p field of the previous page
and have generated the names of those input text
fields using jsp
and as my program initially does not know how many i/p
fields will be there
i have to start a loop in java script
now my script is not recognising the name of those
fields (generated using jsp)
i am writing few lines to explain what i am doing
<Script>
<% for(counter=1;counter <
totalnumberoftextboxes;counter++){ %>
<% String total = "name" + counter; %>
par = <%=total %>
but it is giving me error at document.form.par.value
kindly help
__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/
===========================================================================
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