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

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -