i m doing paginnation meanwhile i want to select all element of a particular coloumn,but i m getting
Posted
by vivek
on Stack Overflow
See other posts from Stack Overflow
or by vivek
Published on 2010-05-05T11:44:32Z
Indexed on
2010/05/05
11:48 UTC
Read the original article
Hit count: 252
jQuery
var vals = new Array(); var i=0; var options=''; jQuery('#SearchResultsTable123 tr:gt(0) td:nth-child(2)').each(function(){ var t=jQuery(this).html(); if(jQuery.inArray(t, vals) < 0) { vals[i]=t; i++; } });
for(var j=0;j
this code gives me the distinct value of that colomn but only for visible page.
© Stack Overflow or respective owner