获取序列化表单数据

来源:互联网 发布:仿砍柴网源码破解版 编辑:程序博客网 时间:2024/05/29 04:46
$("button").click(function(){  console.log($("form").serialize());});
要表单元素的值包含到序列字符串中,元素必须使用 name 属性。
0 0