How can make empty in each column while adding new rows in a table

Polachan Paily 221 Reputation points


I have a table with the column customer name, Address, Salary etc. But when I add the new row in the table using button btnUpdate , the previous row column value would be placed in the corresponding column of the new row . How can I make it empty column in the new row while adding it . Here is the code attached


A set of technologies in the .NET Framework for building web applications and XML web services.
4,226 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Rasha Mohamed Ameen 6 Reputation points

    the first row which is not good a design approach because the code creates invalid markup. Simply take the time and care to design and write a JavaScript application that adds a new HTML table row. the code is not that complicated

    0 comments No comments