You’re right:
$('#myTableRow').remove();
This works fine if your row has an id
, such as:
<tr id="myTableRow"><td>blah</td></tr>
If you don’t have an id
, you can use any of jQuery’s plethora of selectors.
More Related Contents:
- Add table row in jQuery
- Convert JSON array to an HTML table in jQuery
- Get the contents of a table row with a button click
- Remove table row after clicking table row delete button
- Convert html table to array in javascript
- How to tell which row number is clicked in a table?
- Export HTML table to CSV using vanilla javascript
- How to display Image dynamically on UI?
- Appended new row is not behaving like previous one (row)
- Adding a table row in jQuery
- Change table columns order
- Large dynamically sized html table with a fixed scroll row and fixed scroll column
- Sort a table fast by its first column with Javascript or jQuery
- jQuery append and remove dynamic table row
- How to add Rowspan in JQuery datatables
- How to check first 200 chekboxes , then next 200 and so on?
- How can I access the contents of an iframe with JavaScript/jQuery?
- Pure JavaScript equivalent of jQuery’s $.ready() – how to call a function when the page/DOM is ready for it [duplicate]
- Prevent scrolling of parent element when inner element scroll position reaches top/bottom?
- Refresh/reload the content in Div using jquery/ajax
- How to delete a localStorage item when the browser window/tab is closed?
- Get list of data-* attributes using javascript / jQuery
- Microsoft CDN for jQuery or Google CDN? [closed]
- How to do a horizontal scroll on mouse wheel scroll?
- Loop through JSON object List
- jQuery remove options from select
- console.log(result) prints [object Object]. How do I get result.name? [duplicate]
- jQuery: more than one handler for same event
- Sort or Rearrange Rows of a table in angularjs (drag and drop)
- How can I calculate the difference between two times that are in 24 hour format?