forcing a jQuery ready block to run after all other ready blocks

后端 未结 4 2019
醉梦人生
醉梦人生 2021-01-02 00:10

Is it possible to have one jQuery ready block executed after all others have done so.

I have this in my master page ...



        
4条回答
  •  佛祖请我去吃肉
    2021-01-02 00:25

    Add a custom event trigger to your master page:

    
    

    And bind it to the other page:

    
    

    References

    • jQuery Special Events...Virtually, not in Real Life

    • How to Create Custom Events in JavaScript

    • AOP Aspect of JavaScript

提交回复
热议问题