Serialize Subsection 介绍
ALERT This plugin does not work with any current release of jQuery. It
will work after revision 5826 with no changes. Prior to that it will require
you to modify serializeArray() to query the existence of this.elements instead
of jQuery.nodeName(this, “form”).
This plugin creates a serialize function that operates on elements descending
from a form. Requires the
Ancestry plugin.
Usage:
<form> <ol> <li id="first"> <input id="firstname" type="text" /> <input id="lastname" type="text" /> </li> <li> <input id="address1" type="text" /> <input id="address2" type="text" /> </li> <li> <input id="mobile" type="text" /> <input id="email" type="text" /> </li> </ol> </form>
// Returns the same results as if serializeArray() were called on the parent form element, restricted to only include the elements descending from the form. $(#first).serializeSubsection();
Serialize Subsection 官网
http://plugins.jquery.com/project/subsection
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。