Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Removing a row from a table using JavaScript not working

 
John Zwick
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone, I am having trouble getting my javascript function to delete a specific row from a table. Any ideas what I am doing wrong?

here is my javascript function:


Here is my table where there is a 'Remove' link on each row that passes the row number to the javascript function.

 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The trouble would be, the error would be, the browser would be?

Eric
 
Muhammad Saifuddin
Ranch Hand
Posts: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just test your code on firefox and it works fine..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic