草庐IT

sendpost

全部标签

php - 如何从变量中的帖子返回响应?查询

编辑:这就是我需要的:sendpost=function(a,b,c){returnjQuery.post('inc/operations.php',{a:b},c,"json");},rotate=function(callback){//....alert(callback);}sendpost('operation','test',rotate)旧帖:我使用此函数返回帖子的响应:$.sendpost=function(){returnjQuery.post('inc/operations.php',{'operation':'test'},"json");},我想做这样的事情:在