hi
I want to add an item to my combobox at runtime
i have tried
<form name="myform">
<select name="mycombo">
<option value=1> first </option>
</select>
</form>
i want to add more values to this at runtime
document.myform.mycombo.options[document.myform.mycombo.selectedIndex].value
retrieves a value
document.myform.mycombo.options[ctr].value= sets the value attribute of the
option tag
how do i add a value which will be displayed in the combobox
thanx
Vineet
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.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