Delete all rows from Table except First (Header) row using JavaScript and jQuery


Using JavaScript

Customer Id Name Country
1 John Hammond United States
2 Mudassar Khan India
3 Suzanne Mathews France
4 Robert Schidner Russia



Using jQuery

Customer Id Name Country
1 John Hammond United States
2 Mudassar Khan India
3 Suzanne Mathews France
4 Robert Schidner Russia


© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.