1234567891011121314 |
- define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefined, Backend, Table, Form) {
- var Controller = {
- index: function () {
- $("#cxselect-example .col-xs-12").each(function () {
- $("textarea", this).val($(this).prev().prev().html().replace(/[ ]{2}/g, ''));
- });
-
- //这里需要手动为Form绑定上元素事件
- Form.api.bindevent($("form#cxselectform"));
- }
- };
- return Controller;
- });
|