I have two pages – a simple HTML “code example” page from a jQuery code. ( .html file uploaded to server without any modifications)
The other page is the exact HTML copied from that .html code – but outputed by a CMS (Vbulletin Webtemplates CMS)
Working (.html file uploaded to server): [ Link removed – problem solved below ]
NOT working (copy of html file outputed by CMS): [link removed]
Exact same code (copy/paste) – only difference if you view the page source is jqt.htm has google analytics code automatically thrown in there (I’ve tried taking out the analytics code so they’re exactly the same, still doesn’t work).
Anyone know what might be causing this?
I figure it’s got something to do with HEADERS that I can’t see – I’ve viewed the headers and can’t figure out what would stop jQuery codes from working …
The broken page is escaping the
$:$.noConflict();I’d guess that your CMS is probably escaping the character for some reason.
You should use Firebug to troubleshoot your JS problems, it’s extremely easy to use and showed the error right when I loaded the page: