This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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: 56180
    
  13

What do you wan them "reset" to?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Resetting values of table cells in Javascript
 
Similar Threads
Multiple Select box Problem
Removing a row from a table using JavaScript not working
How to retain automatically generated fields on pageload in struts2
Nested Tag (in Form of Table ) :: not able to submit masterForm
Javascript Manipulation of Struts SELECT