jQuery .load() not working

前端 未结 4 485
日久生厌
日久生厌 2020-12-10 12:46

On my website, I\'m trying to pull the content of a post in my forum (hosted on the same domain) and display it in a div on the homepage, using jQuery.

Here\'s the c

4条回答
  •  忘掉有多难
    2020-12-10 13:35

    You need a closing tag on your jQuery include, and you need to wait for dom load.

    JS

    
    
    
    

    HTML

提交回复
热议问题