wood burning stoves
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


Win a copy of Head First Android this week in the Android forum!
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: 63052
    
  69

What do you wan them "reset" to?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Don't get me started about those stupid light bulbs.
 
subject: Resetting values of table cells in Javascript
 
jQuery in Action, 3rd edition