• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1690
  • Last Modified:

Tablesorter plugin don't work in IE

Hello ,

i have this problem with the Jquery tablesorter in FF works the sorting but in IE i get this error:
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.3;  Embedded Web Browser from: http://bsalsa.com/; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)
Timestamp: Wed, 31 Mar 2010 16:39:39 UTC


Message: 'type' is null or not an object
Line: 483
Char: 5
Code: 0
URI: http://www.bookingscripts.com/clients/linaristis_client/secure/admin/js/jquery.tablesorter.js


Message: 'type' is null or not an object
Line: 483
Char: 5
Code: 0
URI: http://www.bookingscripts.com/clients/linaristis_client/secure/admin/js/jquery.tablesorter.js


Message: 'type' is null or not an object
Line: 483
Char: 5
Code: 0
URI: http://www.bookingscripts.com/clients/linaristis_client/secure/admin/js/jquery.tablesorter.js


Message: 'type' is null or not an object
Line: 483
Char: 5
Code: 0
URI: http://www.bookingscripts.com/clients/linaristis_client/secure/admin/js/jquery.tablesorter.js

Here you could see live the error:

http://www.bookingscripts.com/clients/linaristis_client/secure/admin/show_bookings.asp

login using : admin/password

Thank you
0
Softacid
Asked:
Softacid
  • 5
  • 5
1 Solution
 
hieloCommented:
>>cacheLength:10,
 

get rid of the trailing comman after the 10. IE treats that as a syntax error and will halt any more js execution.
$("#example").autocomplete('autocomplete.asp',
{ minChars:2,  
cacheLength:10
             
});

Open in new window

0
 
SoftacidAuthor Commented:
i did still not working ...i get the same error
0
 
hieloCommented:
I am using IE7 and I am NOT seeing any errors after your update. How are you getting these errors? Are you sure you are not looking at a cached page?
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
SoftacidAuthor Commented:
I cleaned the browser cache and using IE8 no change the same error won't sort the list
0
 
hieloCommented:
Well, it was NOT working on IE7 before. After my suggested change it works now. So there's nothing else for me to fix!!!

On another note ( and this is my last post on this matter since what follows is something completely different from your original problem ), on your problem description, this looks odd:
 Embedded Web Browser from: http://bsalsa.com/;

I don't know if that is the reason why you are experiencing something different. Not sure if this applies to you:
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_23143985.html

But like I said, it now works on IE7 and I suspect that it would work in a "normal" IE8 browser configuration as well.

Regards,
Hielo
0
 
SoftacidAuthor Commented:
If you look at my original message i said IE generally not IE7  and if you look at my error description is writes User Agent: Mozilla/4.0 (compatible; MSIE 8.0;
I removed the user agent and test from another PC still doesn't work in IE8
I'll wait another 10 hours maybe someone want to split the points with you and give me a solution for IE8 too
Thank you
0
 
hieloCommented:
>>If you look at my original message i said IE generally not IE7
I wasn't suggesting you to "publish" your page just for IE7 or lower. I know you wanted a "general" solution - hence the trailing comma fix. That was problem that IE (in general) can't handle. What I meant was that since I don't have IE8  I can't test/debug any further.

On another note, this same problem was reported here:
http://blog.pengoworks.com/index.cfm/2008/3/28/Finished-jQuery-Tablesorter-mod-for-Collapsible-Table-Rows#cE17CA85B-19B9-FE20-6CD0BE0BBE94C673

The author's response (immediately after the comment above) was to download the newer version.
0
 
SoftacidAuthor Commented:
thank you
0
 
hieloCommented:
Was it due to an outdated version of the plugin?
0
 
SoftacidAuthor Commented:
nope i downloaded the last version from the official website
0

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now