Delete (Remove) all rows from Table except First and Second 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