js进阶 14-8 表单序列化函数serializeArray()和serialize()的区别是什么

一、总结

一句话总结:两者都是对表单进行序列化,serializeArray()返回的是json对象,serialize()返回的是json形式的字符串,使用起来都是一样的

1、$(selector).serialize()序列化的话对中文做了什么操作?

为了避免出错,将中文变成了编码,因为内容要提交到服务器,编码可以保证汉字不出错,github上传文件的时候,也是进行的同样的操作

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcUAAABSCAIAAACqt1icAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElEQVR4nO1dd1wVxxOfvXuAYEGpsWBXYldiSWwBNJr4S9GILbF3jT12xGDX2LCgKCpq7C32GkFUFLGgYBcpFhSR3t+72/39Mbz1eO+BJD9/iUnu+8nHPO62zO7Ozs7Ozs4RWZZBxf8BhJC/mgQVKlT8qSCMsb+aBtN4bwn7xyBf4LP8/0G+/FeXARUq/iA0fzUBKv4qUAYUmAYFKQMKhAITjdMR8v4uuipUvFdQ5em/FgSYoJCTpDDNVBWmKlQUE4LJp8ZTiDGmzqt/Fgil+oHOl6XqTl+Fiv8JhvoppRSMzlIkSRJFsYgDFsaYLMtFpykCsizn5uYqn7zbPeb7vBLwHvtzz6+oLMtmZubmGhAIAaZhQBgRuTFVhQoVfwCG8hQFGQogLtQEQeAiyWDa43PGmCCYVnWLg4SEhMjIyFKlSomiyAX624QgRXIU//5d8ReIe8Kys7KrODnVrFUNiFDEZl+FChXFhwn7KWPMy8tr3rx5/Akh5O7du0+fPu3YsaNx+oiIiMTERHd39z9GAUoTJycnZ2dnQgjKa2N5yhgrIMqJxBjuUQVjWUAADETUny+zfm+Nf7J/VVxsrFarJQIywB9fC1WoUMFhYiIRQtavX9+tWzedTkcpRQfVuLi4y5cvM8Z0Oh3TAwAopdHR0eHh4ahXUkrxR3GkCQVGUe4xRggRCCGEUCoDoQCMcADIkkSAKMEYo7IMqBwDZShACeH/EcIIYfrf7zsEQShmsncFgh0FAgOS33vvsVVEhY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wsLC4uLgffvhh7969sixv3759xYoVOBfKlSuHBB89epRSevjw4fLly7do0QK7bvbs2YmJiUr+MS1PDSSmksPwNzIivkUdkPMl51QDmcuLsra2vnPnzqBBgw4ePDht2jR8Pm3atKCgIMaYv7//xYsXb968yRibNWvWjh07tFrt2rVrZ8+eff78+cmTJ3/99devXr2aOXPmnj17MO/s2bMDAgJkWd60adPs2bMlSVqzZs3mzZuRgP379//888+tWrWSZblFixaXLl2aPn16WloapXT79u2rVq1ijGVnZ7u5uWG7ypYtSym9cePGjRs3li1blpyc3KlTp+nTpwcGBs6dO3flypVYLAbMvnPnzuXLl9euXSvLcnBw8KRJk5C3cP0fOnTorVu3SpYs+fjxY29v70ePHlFKX758+dNPP127dk2r1c6YMWPnzp2yLG/evNnT01OW5YsXL3p7e6elpVWuXHnHjh0rV65cv379zJkzkbYvv/zy5cuX2L2DBg2KjIzMzs729vYODAxEfvX395dluVevXtHR0c+ePfPw8MCBmD59uizLP//884EDBxhjS5YsMRhfLlwkSfLz8zMpT/m4y7I8bdq0zp07r1y5kr+dN2/e4cOH8e2GDRvWrVsny3KZMmU4k+DFipCQkGnTptnY2ChLBgBZr+xXqFBBkqStW7f6+voiX504ccLLy0uSJGtra6XIQy2VUrply5YZM2Y0b94cC6lUqZIkSTt27PDx8UGBGxQUNGXKFINm8t+0EB3CQA/gnVC1atVt27atXr167dq1OGqyLH/++ecpKSkJCQlHjhzZu3fvq1ev8HlgYODMmTPxkz8+Pj47d+50cnJKS0ubMWPG+fPnsRVt2rTBkm1tbbEJR44cmTFjhizL9+/f/+mnn6KioqysrMLDw4cPH75//36cNZIk/fjjjxcuXMBenTBhArZl1qxZu3btkiRp9erV8+fPP3v2rKen5xdffJGSkjJz5sx9+/YhYeXKlaOUnj17Njo6Guu6fPnyzJkzk5KSUlNTd+7cKUlSs2bNJElq3br1hQsXpk2blp6eLstyeHj4zJkz4+Pjs7Ozvby8zp07J0nS3LlzV61aJUnSnj17EhIS4uPjv/nmm0mTJl24cM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SGmOPL0j+EP0PBO6n3f8A6l/+8q6g/oHG9d+/9k/C55+meS9FZVCQpZON+qaRVRqclXb5GnKlSoUKGimPh7fNFEhQoVKt5/qPJUhQoVKt4NVHmqQoUKFe8GqjxVoUKFincDVZ6qUKFCxbvBfwFsqk2hecZOpgAAAABJRU5ErkJgggA=" alt="" />

2、如何正常显示$(selector).serialize()序列化函数将中文变成的编码?

decodeURIComponent函数

36                         //decodeURIComponent() 函数可对 encodeURIComponent() 函数编码的 URI 进行解码。
37 $('#txt').html(decodeURIComponent($('form').serialize()))

3、js如何向控制台输入消息?

console对象的log方法

56                         console.log(obj) //onsole.log() 向web控制台输出一条消息

二、表单序列化函数serializeArray()和serialize()的区别是什么

1、相关知识

表单序列化

  • 语法:$(selector).serialize()

    jQuery的serialize()方法通过序列化表单值,创建URL编码文本字符串,这样,我们就可以把序列化的值传给ajax()作为url的参数,轻松使用ajax()提交form表单了,而不需要一个一个获取表单中的值然后传给ajax()

  • serializeArray()序列化表单元素(类似'.serialize()'方法返回JSON数据结构数据。

    ’’’注意’’’此方法返回的是JSON对象而非JSON字符串。

 

2、代码

 <!DOCTYPE html>
<html lang="en">
<style>
</style>
<head>
<meta charset="UTF-8">
<title>演示文档</title>
<script type="text/javascript" src="jquery-3.1.1.min.js"></script>
<style type="text/css">
</style>
</style>
</head>
<body>
<form id="form1">
姓名:<input type="text" name="user"><br>
电话:<input type="text" name="Tel"><br>
<select name="buy">
<option>买新房</option>
<option>看二手房</option>
</select>
<input type="button" value="提交">
</form>
<div id="txt"></div>
<script>
/*
$(function(){
$('form input[type=button]').click(function(){
$.ajax({
type:'POST',
url:'buy.php',
data:$('form').serialize(),
success:function(responseTxt,statusTxt,xhr){
//$('#txt').html($('form').serialize())
//alert($('form').serialize())
//字符串形式的键值对,并且对URL进行了编码
//decodeURIComponent() 函数可对 encodeURIComponent() 函数编码的 URI 进行解码。
$('#txt').html(decodeURIComponent($('form').serialize())) }
}) })
})
*/
$(function(){
$('form input[type=button]').click(function(){
$.ajax({
type:'POST',
url:'buy.php',
data:$('form').serializeArray(),
success:function(responseTxt,statusTxt,xhr){
//$('#txt').html(responseTxt)
var obj=$('form').serializeArray()
//alert(obj)
//$('#txt').html(obj)
console.log(obj) //onsole.log() 向web控制台输出一条消息
//[{name='user',value=''},{name='user',value=''},{name='user',value=''}]
alert(obj[0].name+"=="+obj[0].value)
}
}) })
})
</script>
</body>
</html>
 

js进阶 14-8 表单序列化函数serializeArray()和serialize()的区别是什么的更多相关文章

  1. js进阶 10-11/12 表单伪类选择器的作用

    js进阶 10-11  表单伪类选择器的作用 一.总结 一句话总结:能想到用伪类选择器来解决问题.如果能一次记住自然是最棒的. 1.表单伪类选择器分为哪两类? 表单元素和表单属性,表单元素例如inpu ...

  2. 将任意一个jQuery对象进行表单序列化,免除了提交请求时大量拼写表单数据的烦恼,支持键值对<name&value>格式和JSON格式。

    http://zhengxinlong.iteye.com/blog/848712 将任意一个jQuery对象进行表单序列化,免除了提交请求时大量拼写表单数据的烦恼,支持键值对<name& ...

  3. javascript权威指南第14章 表单脚本示例代码

    HTML部分 <!DOCTYPE html> <html> <head> <title></title> </head> < ...

  4. js进阶 14 jquery的ajax有哪些函数和事件(多练)

    js进阶 14 jquery的ajax有哪些函数和事件(多练) 一.总结 一句话总结:常用:load.ajax.post.get.getScript().getJSON().表单序列化,ajax事件这 ...

  5. 原生js实现form表单序列化

    当我们有form表单而且里面的表单元素较多时,咱们总不能一个个去获取表单元素内的值来进行拼接吧!这样会很让人蛋疼!为了方便与后台交互并且提高自己的开发效率,并且不让你蛋疼:我们一起用原生来写一个表单序 ...

  6. JS通用表单验证函数,基于javascript正则表达式

    表单的验证在实际的开发当中是件很烦琐又无趣的事情今天在做一个小项目的时候,需要JS验证,寻找到一个比较好的东西 地址如下: http://blog.csdn.net/goodfunman/archiv ...

  7. 原生js表单序列化----- FormData

    <style type="text/css"> .progress{ height: 10px; width: 600px; border: 1px solid red ...

  8. 原生JS实现表单序列化serialize()

    有一个form表单,要用AJAX后台提交,原来想拼接json,但是数据多了麻烦,不灵活. 用HTML5的FormData来初始化表单 var formdata=new FormData(documen ...

  9. 表单序列化json字符串和js时间格式化

    js时间格式化 new Date().format("时间格式") Date.prototype.format = function(fmt) { var o = {        ...

随机推荐

  1. Java 开源博客 —— Solo 0.6.8 正式版发布了!

    Java 开源博客 -- Solo 0.6.8 正式版发布了,欢迎大家下载.另外,欢迎观摩我们的另一个产品,在线 Golang IDE--Wide! 特性 基于标签的文章分类 博客/标签 Atom/R ...

  2. SQL Server 2005高可用性模式下创建数据库镜像

    SQL Server 2005高可用性模式下创建数据库镜像   高可用性模式下创建数据库镜像 第一步: --创建镜像用数据库-在主服务器上操作 create database db_mirror on ...

  3. Linux常用Office办公软件

    1.WPS Office是由金山软件股份有限公司自主研发的一款办公软件套件,可以实现办公最常用的文字.表格.演示等多种功能.免费提供海量的在线存储空间及文档模板.支持阅读和输出PDF文件.全面兼容Mi ...

  4. express随笔

    Express 是node 第三方框架,框架的意义就在于能大大简化程序地开发.看一下Express是怎么简化node程序开发的. 1,用Express写一个hello world 程序,我们来体验一下 ...

  5. 【Docker基本操作】

    关于镜像的操作 docker search centos 搜索所有centos的镜像 docker pull centos 获取centos镜像 docker images 或 docker imag ...

  6. Oracle Database Sample Schemas

    本文在Creative Commons许可证下发布 最近在钻研Oracle 11gR2,写SQL缺乏Demo表,研究他家的官方资料时发现一块甲骨文已经给我们准备Sample Schemas.比如说SC ...

  7. ItelliJ IDEA开发工具使用—创建一个web项目(转)

    最近想用IDEA编辑器开发,但是平时都用MyEclipse和eclipse习惯了,突然间用IDEA到处碰壁的感觉.在不断的摸索之后终于苦尽甘来,学会了基本的web程序如何创建以及运行了.期间在网上找了 ...

  8. DataTable填充实体类返回泛型集合

    昨天找坤哥看到我的一段代码.例如以下: 略微解释下,这段代码时D层查询结束后,将datatable查询到的结果赋值给实体对象的属性,然后返回实体的过程.坤哥看了之后问我.假设实体有500多个属性.难道 ...

  9. 谈谈 Struts2 的拦截器

    套话 相信非常多人都用过 Struts2 了,当然,对 Struts2 的原理也都比較了解.之前在一个项目中就已经用到了,当初的理解也不过局限在应用的层面上,对于更深层次的原理.机制,了解的并非非常多 ...

  10. 洛谷P2818 天使的起誓

    题目描述 Tenshi非常幸运地被选为掌管智慧之匙的天使.在正式任职之前,她必须和其他新当选的天使一样要宣誓.宣誓仪式是每位天使各自表述自己的使命,他们的发言稿放在n个呈圆形排列的宝盒中.这些宝盒按顺 ...