Again, I'm not experienced with jQuery, but this is how I'd approach it:
$( function() {
var aSortTables = $("table.tablesorterLQ");
for ( var i = 1; i < aSortTables.length; i++ ) {
aSortTables[i].tablesorter({sortList:[[0,0],[0,1]], widgets:
['zebra']});
}
}
);
jQuery might even have a shortcut that assigns all the elements of the array
at once:
$("table.tablesorterLQ").tablesorter({sortList:[[0,0],[0,1]], widgets:
['zebra']});
On Jan 11, 2008 3:19 PM, Paul Ihrig <[EMAIL PROTECTED]> wrote:
> right so if in cf i do
> <table class="tablesorterLQ" id="tblRep#userId#" title="Sales Rep's">
> how do i then pass tblRep#userId# back up to the top of the page
> so i can insert #userId# into the script..
>
> $(function() {
> $("#tblRep").tablesorter({sortList:[[0,0],[0,1]], widgets: ['zebra']});
> });
>
--
Edward A Savage Jr - "Sonny"
Senior Software Engineer
Creditdiscovery, LLC
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:296452
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4