使用iframe实现无刷新提交表单
来源:互联网 发布:php 非阻塞io 编辑:程序博客网 时间:2024/05/13 13:06
<?php
header("Content-type: text/html; charset=utf8");
?>
<iframe name="testIframeName" style="display:none;"></iframe>
<form target="testIframeName" method="post" action="formAction.php">
<input type="text" name="username"/>
<input type="password" name="password"/>
<input type="submit" value=" 提 交 " />
header("Content-type: text/html; charset=utf8");
?>
<iframe name="testIframeName" style="display:none;"></iframe>
<form target="testIframeName" method="post" action="formAction.php">
<input type="text" name="username"/>
<input type="password" name="password"/>
<input type="submit" value=" 提 交 " />
</form>
<?php
$user=$_POST['username'];
$pass=$_POST['password'];
if($user=='an'&&$pass=='123')
echo "<script>alert(登录成功....');</script>";
?>
0 0
- 使用iframe实现无刷新表单提交
- 使用iframe实现无刷新提交表单
- iframe 无刷新提交表单
- iframe无刷新提交表单
- 利用iframe实现表单的无刷新提交
- 利用iframe实现表单的无刷新提交
- 使用AJAX 加 iframe 实现表单无刷新提交并上传文件
- 使用iframe实现提交表单不刷新页面
- 用iframe实现提交表单不刷新
- 利用iframe实现表单无刷新上传
- 不使用ajax实现无刷新提交表单实例
- iframe标签实现form表单提交无页面刷新(不需要js)---解析
- iframe标签实现form表单提交无页面刷新(不需要js)---解析
- iframe标签实现form表单提交无页面刷新(不需要js)---解析
- iframe标签实现form表单提交无页面刷新(不需要js)---解析
- ajax(iframe)无刷新提交表单、上传文件
- ajax(iframe)无刷新提交表单、上传文件
- 使用隐藏的iframe 隐藏form提交,仿AJax无刷新提交,可以实现无刷新上传文件
- xutils-httpUtils 下载显示文字进度百分比(toast)
- ArrayList线程不安全详解
- CATIA中数据精度处理
- iOS MultipeerConnectivity 编程发送图片服务器端
- Android学习笔记(1)--系统特点&框架
- 使用iframe实现无刷新提交表单
- 异步消息处理机制-Handler、AsyncTask
- 黑马程序员-C语言学习笔记(循环)
- Git/Github的使用并与Eclipse整合
- _ _type_traits
- 学习easyui疑问(二)
- leetcode 39: Combination Sum
- HBase 常用Shell命令
- poj 1532 【求无向图的所有割点 以及 该点分成的BCC数目】