search

Home  >  Q&A  >  body text

$.get,$.post,$.ajax三者有什么区别?

实际工作中使用哪个比较好?

看透不说透看透不说透2967 days ago1350

reply all(2)I'll reply

  • 数据分析师

    数据分析师2017-10-01 00:43:06

    What are the differences between $.get, $.post and $.ajax? -PHP Chinese website Q&A-What are the differences between $.get, $.post and $.ajax? -PHP Chinese website Q&A

    Let’s take a look and learn.

    reply
    0
  • 迷茫

    迷茫2017-03-08 09:22:28

    区别啊,就是get和post是对ajax更进一步的封装,效果和ajax执行类型为get或者post一模一样的,
    get post 这样做的原因就是为了方便开发,不用每次都写ajax url scuess之类的了,
    我们公司都是用ajax,很少有人用get或者post。因为get 和 post能解决的问题ajax肯定行,而且ajax更灵活。

    reply
    0
  • Cancelreply