jQuery popstate event handling in firefox -


i have got this:

jquery(document).ready(function () {     jquery(window).bind('popstate', function () { sth;}); }); 

it works charm in chrome, doesn't work in ff (event handler not fired). when take code outside ready block, event can handled, don't being outside ready block.

do know solutions? cheers.

problem solved, did window.onpopstate = function () {} :)


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -