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">
  <thead><tr><th>Col1</th><th>Col2</th></tr></thead>
  <tbody></tbody>
</table>
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.

Thursday, September 8, 2011

Connect in DB2 Control Center with Exclamation in password

If your password has exclamation (!) mark in it and you have trouble connect to DB2 in Control Center, you must be forgetting to wrap the password by double-quote (").


connect to #DBNAME# user #USERNAME# using "PASSWORD!"