Skip to content
Advertisement

What is the best way to remove a table row with jQuery?

What is the best method for removing a table row with jQuery?

Advertisement

Answer

You’re right:

JavaScript

This works fine if your row has an id, such as:

JavaScript

If you don’t have an id, you can use any of jQuery’s plethora of selectors.

Advertisement