aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Resetting values of table cells in Javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Resetting values of table cells in Javascript" Watch "Resetting values of table cells in Javascript" New topic
Author

Resetting values of table cells in Javascript

John Zwick
Ranch Hand

Joined: Mar 02, 2009
Posts: 34
I have a table where each row contains multiple input and select boxes. I have a link where the user can add a new row.
However, I am having trouble resetting those values of those input boxes... I can add a new row just fine but the values are not getting reset

Here is my javascript:


Here is my HTML:


What am i missing here?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60057
    
  65

What do you wan them "reset" to?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Consider Paul's rocket mass heater.
 
subject: Resetting values of table cells in Javascript
 
Similar Threads
Nested Tag (in Form of Table ) :: not able to submit masterForm
Multiple Select box Problem
Javascript Manipulation of Struts SELECT
Removing a row from a table using JavaScript not working
How to retain automatically generated fields on pageload in struts2