ifvar rows = []; $('#<%: lvStudents.ClientID %>_itemPlaceholderContainer tr:gt(1)').each(function (i, v) { var row = $(this); rows.push(row); });
InsertItemPosition="LastItem"gt(1)
else if
InsertItemPosition="FirstItem" gt(2)
world wide web development problems asp net php html xhtml css javascript jquery w3dproblems
ifvar rows = []; $('#<%: lvStudents.ClientID %>_itemPlaceholderContainer tr:gt(1)').each(function (i, v) { var row = $(this); rows.push(row); });
InsertItemPosition="LastItem"InsertItemPosition="FirstItem" $('#test > div:gt(1)');
Or you can use the slice function$('#test > div').slice(2);