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

Polachan Paily 226 Reputation points
2021-08-19T10:29:43.923+00:00

0

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

124711-codesample.txt

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

1 answer

Sort by: Most helpful
  1. Rasha Mohamed Ameen 6 Reputation points
    2021-08-20T13:03:07.62+00:00

    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