js中有特殊字符的编码格式

  在get和post方法中,如果传入的参数值有特殊字符,如:“&”,在get中的url需要拼接,可以使用encodeURICompontent来编码来转化

回调就是在上面传递实际参数,传递给ajax中的形式参数如text。就是回调。

原文地址:https://www.cnblogs.com/xiaohouzai/p/8506808.html