IE 7 issue. Jquery show hide div

I saw this great post to show hide div using jquery. For some reason it doesnt work in IE 7. Can somebody suggest why.

By the way, works fine in IE8, chrome, FF.


Works fine in IE 7 for me, mind you I don’t have a native install. IE 9 (in IE 7 compatibility mode), and IE Tester both show this as working.

Tested it in a native Windows XP environment and it works without any issues.

Well, yesterday somebody provided fix on the blog. For people who are curious, it seems “Line 10 of the plugin should not have the comma”.

Earlier it was hideText: ‘Hide’,

So removing that comma at the end fixed the issue. I cannot have figured that one out.

Thanks All. Appreciate your replies.