Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to do the function for the delete row???

Status
Not open for further replies.

choohean

Technical User
Jan 15, 2002
57
MY
I have a function that can add row in a table...

Can anyone here help me to figure out how to delete a row?

my coding is like this:

function addTableRow(tableName)
{
totalTableRow = totalTableRow + 1
var newRow;
var newCell;
var currentRow;

currentRow = totalTableRow

// ADD A ROW
newRow = tableName.insertRow();

// Add A Cell
newCell = newRow.insertCell();

}

thanks for your kindness...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top