framework7 ajax post提交

前端之家收集整理的这篇文章主要介绍了framework7 ajax post提交前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
var $$ = window.Dom7; //do get request $$.get('path-to-file.PHP',{id:3},function (data) { consol.log(data); } //do post request $$.post('path-to-file.PHP',function (data) { consol.log(data); } //get JSON request $$.getJSON('path-to-file.js',function (json) { consol.log(json); } 原文链接:https://www.f2er.com/ajax/161548.html

猜你在找的Ajax相关文章