i have a table thats generated in a cfloop. so it spits out multiple tables.
i am using jquery tablesorter to sort the tables but it only works on the
first one.
how would i count the tables and pass the value into js & also into the ID
of the generated tabel...
like
$("#tblRep0").
$("#tblRep1").
$("#tblRep2").
the script part above my queries...
<script type="text/javascript">
$(function() {
$("#tblRep").tablesorter({sortList:[[0,0],[0,1]], widgets: ['zebra']});
});
</script>
</head><body>
The html generated by cf
<table class="tablesorterLQ" id="tblRep" title="Sales Rep's">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296419
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4