Programming/
 Tools

      Oracle
      JavaScript
      C#

 Fun Stuff
      Music
      Martial Arts
      Robotech

 Other
      Main


DISCLAIMER
This disclaimer is intended to cover all software/freeware, and other various files which are downloadable through or from this site.
Joe Garrepy, isp, and web host can not be held responsible for any software downloaded from this site. All freeware is downloaded at your own risk. Software which is listed on this site is assumed to work properly, but may or may not have different effects on different computer systems. The same rules apply to these programs. Joe Garrepy assumes no responsibility for those unusual occurrences where software has adverse effects on users computer. Joe Garrepy does not warrant these programs/files, and as such, can offer no guidelines in which to use them. All freeware/software/files, trademarks, service marks, and copyrights are acknowledged as belonging to their owners. Any of these which the owner wishes to be removed will be done so immediately. By downloading any software or viewing pages in which software can be downloaded, you agree to be bound to this agreement.

JoeGarrepy.com Add/Delete rows from/to a HTML table using JavaScript

The following script allows you to add or delete rows to an HTML table with JavaScript. In this example a grid of data is showing for different pets. The Add Row button will add another row with input fields in it to emulate adding a new database row at the end of the table. The Delete Row button will delete the row that you press it on.

RownumAnimalNameAge
1DogScooby Doo6
2CatTom4
3MouseJerry1

Java Script Portion

Html Portion


If you find any bugs or want to contact me I can be reached @ doughjoe77@hotmail.com.