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

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/E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yfILVqtllJ67dq1zz77DKfqsmXLcNles2YNZ7mwsLC4uLgffvhh7969sixv3759xYoVOBfKlSuHBB89epRSevjw4fLly7do0QK7bvbs2YmJiUr+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+Pjs7Ozvby8zp07J0nS3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6GQ6IhFgBYe++oPytP3HL+XgYpuZnFKK04JxSGmOPL0j+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>
 
上一篇:Vue学习之路5-v-model指令


下一篇:HTML基础篇之内嵌框架和表单