How can I refresh a page with jQuery?

后端 未结 28 2481
刺人心
刺人心 2020-11-22 07:00

How can I refresh a page with jQuery?

28条回答
  •  孤独总比滥情好
    2020-11-22 07:30

    Here are some lines of code you can use to reload the page using jQuery.

    It uses the jQuery wrapper and extracts the native dom element.

    Use this if you just want a jQuery feeling on your code and you don't care about speed/performance of the code.

    Just pick from 1 to 10 that suits your needs or add some more based on the pattern and answers before this.

    
    

提交回复
热议问题