一.jQuery Form的其他api 1. formSerialize 将表单序列化成查询串.这个方法将返回一个形如: name1=value1&name2=value2的字符串.是否可以连环调用: 否, 这个方法返回的是一个字符串. 例子: var queryString = $('#myFormId').formSerialize(); // the data could now be submitted using $.get, $.post, $.ajax, etc $.post(…
Form表单元素 action method input: name value type: text password button radio checkbox file submit reset select下拉选择: name option textarea文本域: name cols rows form表单:用于搜集用户输入的数据并传递给指定后台程序进行处理 action:指定后台处理程序的地址 method:数据提交的方法 get:默认的提交方法,数据会附加在地址上…