$("#result").load("网址"); //这是get方式
$("#result").load("网址", {"abc":"123"}); //这是post方式
$(document).ready(function(){
$("#elem").load('/testxhr/',{'a':'3','b':'4','c':'6'})
}
)
/testxhr/
3
1111111111111
4
6
[20/Jan/2019 20:40:24] "POST /testxhr/ HTTP/1.1" 200 12
jquery.load post 和get
猜你喜欢
转载自blog.csdn.net/zhaoyangjian724/article/details/87862893
今日推荐
周排行