jquery - Tablesorter not sorting in Chrome -
so i've got:
$("#tblid").tablesorter({ widgets: ['zebra'], widgetoptions: { zebra: ["zebrastripe", "zebrabase"] } }).bind("sortstart", function () { alert('sortstart'); }); and zebra striping applied both chrome , ie 8 (my other browser i'm testing). sortstart function gets called in ie 8, not chrome. sorts in ie 8 , not in chrome, real issue. can add lend thoughts? tia.
edit: fixed mismatched quotes. when simplified selector from:
$('#tblchildviolationlist_' + entityid + '[data-violationtype="' + violationtype + '"]') to:
$("#tblid") i didn't pay attention quotes.
you have mix of ' , " characters @ start. try:
$("#tblid").tablesorter({ widgets: ['zebra'], widgetoptions: { zebra: ["zebrastripe", "zebrabase"] } }).bind("sortstart", function () { alert('sortstart'); }); instead. " , ' both valid string delimiters, need consistent within single string.
Comments
Post a Comment