jQuery Ajax call returning '[object XMLDocument]'

后端 未结 5 492
闹比i
闹比i 2021-02-01 23:06

I have an HTML page which I want to populate using Ajax. I\'ve copied code from other pages, (which are all in PHP, and I\'m not sure if that matters), and it\'s returning

5条回答
  •  故里飘歌
    2021-02-01 23:51

    You can try the code below. I've just tested it on Firefox 15.0.1 and it works well:

    $.post("include/get_help_videos.php", function(data)
    {
        alert(data);
    }, "text");
    

提交回复
热议问题