Chrome AJAX on page-load causes “busy cursor” to remain

前端 未结 6 1700
情话喂你
情话喂你 2020-12-30 06:12

In Google Chrome, AJAX called within $(function(){....}); seems to keep the page loading.

I have a site with a few pages with tabs. Because I\'m using cheap godaddy

6条回答
  •  渐次进展
    2020-12-30 06:57

    According to JQuery docs, no javascript should be run till ready for example

    $(document).ready(function() {someCode();});
    

    with that in mind i changed your jsFiddle (it takes some time to load but it works)

    Edit: hadnt forked jsfiddle ><

提交回复
热议问题