Home > Backend Development > PHP Tutorial > $.post('index.php?act=q&openid=<php echo $openid;>'{'qnumber'qNumber},functi,该怎么处理

$.post('index.php?act=q&openid=<php echo $openid;>'{'qnumber'qNumber},functi,该怎么处理

WBOY
Release: 2016-06-13 12:21:56
Original
1244 people have browsed it

$.post('index.php?act=q&openid=',{'qnumber':qNumber},functi
$.post('index.php?act=q&openid=',{'qnumber':qNumber},function(data){},'json');其中的index.php就是当前页面吗?还是提交JSON的那个页面?
------解决思路----------------------
你的index.php应该是个入口文件,根据act分发到子页面来出来你的post数据
------解决思路----------------------
index.php是一定提交的页面。
但也可能是当前页面。因为可以提交给自己的。
建议改其他较好,这样容易排错。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template