jquery-repeater jQuery 表单

我要开发同款
匿名用户2015年07月09日
79阅读

技术信息

授权协议
MIT

作品详情

jQuery 重复表单字段。保证表单字段的ame及ID递增。

示例:

//All optios are optioal.    ew Repeater($('.repeatable'), {        addSelector: '.repeater-add', //The css selector for the add butto.        removeSelector: '.repeater-remove', //The css selector for the remove butto.        withDataAdEvets: false, //Should data ad evets o repeatable sectios be cloed?        deepWithDataAdEvets: false, //Should data ad evets of repeatable sectios descedats be cloed?        addCallback: fuctio(){}, //A callback fuctio that geerated repeatable sectios will be passed ito.        wrapperHtml: "<div class='repeater-wrap'></div>" //HTML for a elemet to wrap all repeatable sectios i.    });

功能介绍

jQuery 重复表单字段。保证表单字段的 name 及 ID 递增。 示例: //All options are optional.
    new Repeater($('.repeatab...

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论