Javascript Won't Work Unless I Use Alert()!
I run into this issue from time to time and I don't know how to solve it. Here's my code that fails: function on_lightbox_open() { system.contextBrowserInit(); updateUrl(
Solution 1:
Perhaps your use of .live() requires a fully loaded document and the alert just buys the browser some extra time. Try surrounding with $(document).ready();
Post a Comment for "Javascript Won't Work Unless I Use Alert()!"