$('a').trigger('click'); not working

后端 未结 9 2411
南旧
南旧 2021-02-19 04:06

How do I make jquery click test



        
9条回答
  •  一向
    一向 (楼主)
    2021-02-19 05:01

    You need to wait until the DOM has finished loading. This can be done with jQuery. The anonymous function is run at page load once all the elements are available in the DOM.

    
    

提交回复
热议问题