my dog learned polymorphism*
The moose likes HTML, CSS and JavaScript and the fly likes Adding a row dynamically in jsp using javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Adding a row dynamically in jsp using javascript" Watch "Adding a row dynamically in jsp using javascript" New topic
Author

Adding a row dynamically in jsp using javascript

suchitralingaraj
Greenhorn

Joined: Oct 10, 2002
Posts: 8
Hi All,
I need to add rows dynamically to a table and fetch those values and update the database accordingly. I will have a series of equipment numbers which the user can enter hence as and when he keeps clicking on add button new rows needs to added and then i should fetch these values and accordingly update the database. I need to do this using the <td> tag. Hoping to get immediate response.
Thanks in advance.
Regards
Suchitra
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
There her built in classes to do it
look at Microsoft's site for details
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/tables/buildtables.asp
Eric
suchitralingaraj
Greenhorn

Joined: Oct 10, 2002
Posts: 8
Thanks for ur reply Eric. I dont want to use those built in classes. It needs to be constructed using the td tags as per the project requirements. I wrote the function but doesnt seem to work properly in netscape.
Suchitra
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4347
    
    2

suchitralingaraj,
I hate to say this but, your name does not comply with the Javaranch naming guidelines which can be found at http://www.javaranch.com/name.jsp
please register again with a valid name.


SCJP
Visit my download page
 
wood burning stoves
 
subject: Adding a row dynamically in jsp using javascript