【文件属性】:
文件名称:jQuery表单jquery-repeater.zip
文件大小:576KB
文件格式:ZIP
更新时间:2022-08-08 07:33:05
开源项目
jQuery 重复表单字段。保证表单字段的 name 及 ID 递增。示例://All options are optional.
new Repeater($('.repeatable'), {
addSelector: '.repeater-add', //The css selector for the add button.
removeSelector: '.repeater-remove', //The css selector for the remove button.
withDataAndEvents: false, //Should data and events on repeatable sections be cloned?
deepWithDataAndEvents: false, //Should data and events of repeatable sections descendants be cloned?
addCallback: function(){}, //A callback function that generated repeatable sections will be passed into.
wrapperHtml: "" //HTML for an element to wrap all repeatable sections in.
});
标签:jquery