jquery 序列化表单进行提交笔记
来源:互联网 发布:qq代理服务器ip和端口 编辑:程序博客网 时间:2024/06/06 04:25
//php代码
<?php
print_r($_POST);
?>
html代码:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>serlize序列化表单传值</title><script type="text/javascript" src="../../jquery-1.3.1.js"></script><script> $(function(){$('input[type=button]').click(function(){var date=$('#ff').serialize();//alert(date);return false;$.ajax({ url:'server.php', data:date, type:'post', success:function(data){ alert(data); }});});})</script></head><body><div id="content"><form action="server.php" method="post" accept-charset="utf-8" id="ff"><input type="text" name="username" /><br/><input type="text" name="email" /><br/><input type="text" name="password" /><br/><input type="button" value="Continue" /><br/></form></div></body></html>
0 0
- jquery 序列化表单进行提交笔记
- jquery 序列化表单 提交数据 乱码
- jQuery序列化Ajax提交表单
- jquery序列化表单并ajax提交
- Jquery 重写序列化函数提交表单
- Jquery序列化表单提交之---转化JSON
- jquery查询页面表单进行提交
- jquery表单序列化
- jquery表单序列化
- jQuery.ajax $.post $.load 序列化表单(ajax提交表单,post传递参数,序列化表单)
- from 表单序列化提交
- jQuery.ajaxSubmit异步提交表单并用jQuery.validate进行校验
- [JQuery]自定义表单序列化
- jquery 序列化from表单
- Jquery ajax序列化表单
- jquery序列化表单数据
- Jquery表单序列化相关
- jquery 序列化表单对象
- struts2表单ui
- 寄存器及七种寻址方式
- linux进程、调度、线程、进程上下文等几点理解
- HashMap与HashCode()、equals()的关系---在HashMap中实现以对象为键(key)
- Vmware kernel headers 3.12-kali-686-pae找不到问题
- jquery 序列化表单进行提交笔记
- POJ 3096 Surprising Strings(map 水)
- uva10160(dfs+状态压缩)
- 单例模式之新的想法
- cocos2d-x 游戏优化方案
- Python3.2官方文档翻译--继承
- 复主键使用NEW构造函数的双参数设置
- JavaScript之cookie和客户端持久性以及脚本化HTTP
- hud 2594 Simpsons’ Hidden Talents