I have a page that has bookmarks set and also the same page has a div which uses the Jquery Modal pop up. I set the bookmark code behind and also run the jquery to show the pop up on a condition. But, my jquery runs first and the boomark is set later . So my pop up is at the top but the bookmark is somewhere below. I have to scroll up all the way to see the pop up. Is there a way I can fix this? Any ideas? I tried running the Jquery aftre page load by $(window).bind(“load”, function() { // code here });
Is this the right way to do it?.