[jQuery] Jquery tablesorter problem

[jQuery] Jquery tablesorter problem


Hi
I was trying to use jquery table sorter plugins:
when ever I use it like :
<table id="table1" cellspacing="1" class="tablesorter" >
//row and column here
</table>
and jquery:
$("#table1")
.tablesorter({widthFixed: true, widgets: ['zebra']})
.tablesorterPager({container: $("#pager")})
It works fine..
how ever if i use :
<table id="table1" cellspacing="1" class="tablesorter"
runat="server">
//row and column here
</table>
and jquery:
$("#"+serverIdPrefix+"table1")// serverIdPrefix nicely found what is
attached by server to id of table
.tablesorter({widthFixed: true, widgets: ['zebra']})
.tablesorterPager({container: $("#pager")})
it doesnt work when ever table is runat="server"
can some one help?
Thanks
Varun