Why is $(document).ready needed after the [removed] tag?

前端 未结 3 655
攒了一身酷
攒了一身酷 2020-12-06 12:51

Why is $(document).ready needed after the

3条回答
  •  南笙
    南笙 (楼主)
    2020-12-06 13:52

    $(document).ready is javascript code, so it has to be written in

At the end of body





  
  Document



  
  
  


In head with ready





  
  Document

  
  



  



For the

提交回复
热议问题