Wednesday, September 21, 2011

[SOLVED] jQuery Tablesorter Plug-in 'config.parsers' is null

I encountered an issue with jQuery Tablesorter Plug-in on Internet Exporer (IE) when the table is empty. Say, if you have a table looks like below:
<table id="myTable">
when you call $("#myTable").tablesorter(); You will get following error on IE saying:

'config.parsers' is null or not an object

If you are running Firefox (FF), you won't see this error but your javascript code on the page might be broken.
So, you should either remove the table element from you page or render empty row for the table if it's empty. Hope that helps you too.

1 comment :

  1. Great Article IoT Projects for Students

    Deep Learning Projects for Final Year

    JavaScript Training in Chennai

    JavaScript Training in Chennai

    The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training