ajax请求与thinkphp

一:jquery的ajax()请求。 第一步:引入jqeruy库 <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"> 第二步:jquery中ajax请求格式: 1.url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。 2.type: 要求为String类型的参数,请求方式(post或ge
相关文章
相关标签/搜索