I'am working with JSP to generate dynamically ComboBoxes say 1 to 10.Now i use JavaScript to validate these ComboBoxes.I java it is referenced as combobox[i] and in javascript it is referenced as combobox.i and hence i get Object not found error....
Please help me
Srinivasulu Thalla
-
Problem jsp and javascript (2 messages)
- Posted by: thalla sreenivasulu
- Posted on: August 24 2000 10:11 EDT
Threaded Messages (2)
- Problem jsp and javascript by Uday Kumar on August 25 2000 14:24 EDT
- How can concate more than one combobox? by kalyan shaw on October 12 2000 08:23 EDT
-
Problem jsp and javascript[ Go to top ]
- Posted by: Uday Kumar
- Posted on: August 25 2000 14:24 EDT
- in response to thalla sreenivasulu
hello Srinivas,
There is an element array which is part of the forms objects in Javascript. The elements array contains the list of all the elements in the form. For each element you can check the type attribute and check whether it is a combobox. Thus you wouldnt have to refer to the combobox by name ( since the name is dynamically generated ) instead you navigate through the elements array. This is one way to solve the problem.
Thanks
-U -
How can concate more than one combobox?[ Go to top ]
- Posted by: kalyan shaw
- Posted on: October 12 2000 08:23 EDT
- in response to thalla sreenivasulu
Respected sir,
ihave three comobox for entering date one for entering date,one for month and lastly for year.
How can I concate them and store in a database(in SQL)?
yours
kalyan.