JQuery Script, Works in Firefox, not in IE, Chrome?

Looking at the HTML snippet I guess it should be.

Looking at the HTML snippet I guess it should be because the selector $('. Survey-description') refers to a class, not an id.

This is mostly a quick guess as I don't know the html structure in question and don't have time to check the rest, but if there are conflicting element ids (such as two elements with the id "calls") different browsers will behave differently. So check do a check for this to make sure that is not the problem. (Also, use === in comparisons instead of ==).

It might not work if your html code is not valid... and I bet you didn't close a div or something... You can check here your page: validator.w3.org/ Please also remove just for test the "px" value from animate({"height": "xxpx"} ... and let it animate({"height": 25}...

HTML is all valid. That is not the issue... – Graeme Leighfield Oct 17 '11 at 8:53 @GraemeLeighfield post edited... – Alex Oct 17 '11 at 8:56 Removed the px and the ""'s works in FF perfectly, however still the same in Chrome/IE. :( – Graeme Leighfield Oct 17 '11 at 9:05.

I'm trying to reproduce the issues you're seeing, but I'm having a hard time to do so. Would you mind to paste the relevant bits of HTML involved here?

Reason for downvote : This should be a comment and not an answer. – apnerve Oct 17 '11 at 9:54 Agreed, but the SO GUI doesn't let me comment with a reputation of 1. – shendriks Oct 17 '11 at 9:57 Edited to add some HTML of the container.

– Graeme Leighfield Oct 17 '11 at 10:05 Shouldn't it be , because the selector $('. Survey-description') refers to a class, not an id? – shendriks Oct 17 '11 at 10:26 Thats it.Sorted.

Post as an answer and ill accpet. Many thanks! – Graeme Leighfield Oct 17 '11 at 10:33.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions