$阿贾克斯VS $。员额VS $不用彷徨VS $ .load员额、彷徨、阿贾克斯、VS

2023-09-10 21:00:40 作者:爱钱

可能重复:   Difference之间$。阿贾克斯()和$。获得()和$ .load()

我试图做到的是要改变在页面中的数据而无需刷新页面。一路过关斩将的jQuery的文档,我知道我可以使用下面的方法。但我不明白,使用哪种方法。他们看起来都一样给我。

What I'm trying to accomplish is to change the data in the page without refreshing the page. By going through the documentation of jQuery I understand that I can use below methods. But I don't understand which method to use. They all look the same to me.

什么是间$阿贾克斯的区别VS $。员额VS $不用彷徨VS $ .load?

我阅读文档,但我无法得到上述方法的区别的正确理解。我是新来的jQuery。如果有人能请解释的差异,这将是一个很大的帮助。

I read the documentation but I couldn't get the proper understanding of the difference of the above methods. I'm new to jQuery. If someone can please explain the difference, that would be a great help.

感谢

推荐答案

他们做什么,他们说,他们做的。

They do what they say they do.

$。AJAX是用来发送XMLHtt prequests功能 $,帖子是一个POST包装$就 $,得到的是一个GET包装$就 $,负载是同一个概念,但可以让你轻松地将内容加载到所选元素。