suntblog / blog-comment

Gitalk评论
0 stars 0 forks source link

用Ajax调用后端json数据 | suntblog #12

Open suntblog opened 2 years ago

suntblog commented 2 years ago

https://nrytiamo.github.io/post/yong-ajax-diao-yong-hou-duan-json-shu-ju/

✍️ajax get()

先导入jQuery ajax get()函数

$.get(url,data,success(response,status,xhr),dataType)

url:必需。规定将请求发送的哪个 URL。 data...