• Post Reply Bookmark Topic Watch Topic
  • New Topic

Resetting values of table cells in Javascript  RSS feed

 
John Zwick
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you wan them "reset" to?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!