pageShow event in javascript

后端 未结 10 881
不知归路
不知归路 2020-12-10 05:21

I have the following code:



    
    

        
10条回答
  •  失恋的感觉
    2020-12-10 05:35

    $(function(){ //your code })
    

    Is the shorthand for $(document).ready(). document.ready fires just after the DOM is loaded, adding a window.onload inside it is unnecessary.

    IE wont fire a "pageshow" event, since it doesn't recognize it.

提交回复
热议问题