[jQuery] Table sorter and pager problem
Hi
I am using these plugins. But my problem is firefox related.
while sorting I can see small images in header of table in IE(images
on which we click and do sort ascending and descending ) but when I
open same page in firefox it does not show images .... Any idea ?
Also, there are some fields in the table where nothing is written so I
am using Jquery to put "NA" where nothing is written. But it only does
this on 1st page where I am showing only 10 rows.... Now suppose
through my pager I change the option to 20 rows ... It shows NA in 1st
10 rows but after that it doesnot show NA , It shows only empty
field .... I think when you use this :
$(".tablesorter").each(function() {
$(this).find("tbody").each(function() {
$(this).find("tr").each(function() {
$(this).find("td").each(function() {
$(this).css("width","80px");
if($(this).html()=="")
{
$(this).html('NA')
}
});
$(this).find("td").eq(7).click(function(){
document.location.href = $(this).html();
});
});
});
});
It should put NA in the entire table ...Not just in 1st 10 rows which
are shown default on page.
Any ideas , any hints will help me!!
Thanks
Varun