After page refresh jquery stops working

Linas picture Linas · Feb 5, 2012 · Viewed 10.9k times · Source

That's realy strange issue, i have quite a lot of plugins and custom scripts in my page and normaly it all works just fine, but if i would try to refresh page, not just click on some link, some of my scripts just stops working, mostly the ones who is changing css properties, my firebug doesn't show any errors, what could be causing something like that?

Answer

Trott picture Trott · Aug 1, 2012

Answer from original poster:

So the problem was that i used $(document).ready() what i realy needed was $(window).load()