Avatar of Mulith

asked on 

JQuery snippet no longer works on new server.

Hi All,

My knowledge of Jquery and javascript is not all that great but just moved my site to a new server and for some reason this code no longer hides the element on pageload:

Event.observe(window, 'load', function() {
		$$('.hide_on_start').each(function(node) {

Open in new window

Not sure what would cause this to happen but any element given the "hide_on_start" class should be hidden when the page is first loaded.

Any ideas why this has happened?

Avatar of undefined
Last Comment

8/22/2022 - Mon