javascript - $(document).ready getting called twice? Here's why.
Why replacing a page’s entire body HTML with jQuery can trigger document.ready twice and cause JavaScript widgets and handlers to initialize repeatedly.
Read the postPosts tagged bugs from Setfive.
1 post
Why replacing a page’s entire body HTML with jQuery can trigger document.ready twice and cause JavaScript widgets and handlers to initialize repeatedly.
Read the post