Widget:CJP4: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 145: | Line 145: | ||
// The cells are then populated with | // The cells are then populated with | ||
//Find a <table> element with id="resultsTable-body": | //Find a <table> element with id="resultsTable-body": | ||
$('#resultsTable-body tr').remove(); | |||
table = document.getElementById("resultsTable-body"); | table = document.getElementById("resultsTable-body"); | ||
//Create an empty <tr> element and add it to the 1st position of the table: | //Create an empty <tr> element and add it to the 1st position of the table: |