Link to home
Start Free TrialLog in
Avatar of tonelm54
tonelm54

asked on

Split table first and rest

Im trying to split a table into first and rest rows, however my code doesnt seem to pull any rows:-
        function modTable($tableID) {
	        var $firstRow = $('#' + $tableID.id + ' tr:first');
	        var $restRows = $('#' + $tableID.id + ' tr').not(':first');
		}
        modTable($('#myTableID'));

Open in new window


Any ideas what Im doing wrong?

Thank you in advance
ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial