jQuery .load() not working

前端 未结 4 368
日久生厌
日久生厌 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:42

    .load can pass your GET params seperate:

    .load("link to php", "http://examplepage.com/forum/showthread.php", "tid=NN#pid_NN")
    

提交回复
热议问题