Use JSONP to load an html page

后端 未结 6 777
不思量自难忘°
不思量自难忘° 2020-11-27 17:13

I\'m trying to load an external page using JSONP, but the page is an HTML page, I just want to grab the contents of it using ajax.

EDIT: T

6条回答
  •  自闭症患者
    2020-11-27 17:34

    First, call the AJAX URL manually and see of the resulting HTML makes sense.

    Second, you need to close your DIV in your fiddle example.

提交回复
热议问题