File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Removing a row from a table using JavaScript not working 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 "Removing a row from a table using JavaScript not working" Watch "Removing a row from a table using JavaScript not working" New topic
Author

Removing a row from a table using JavaScript not working

John Zwick
Ranch Hand

Joined: Mar 02, 2009
Posts: 34
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
The trouble would be, the error would be, the browser would be?

Eric
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

I just test your code on firefox and it works fine..


Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Removing a row from a table using JavaScript not working
 
Similar Threads
Resetting values of table cells in Javascript
Space not releasing on toggle of divs
how to insert multiple check box values into the database using single parameter
how to take javascript array values in php form
spaces while populating using s:iterator