pj demo by tuzkiss

2747 단어





add
// ajax load search panel $('#SearchID').load('/TransferDiscount/Search', function () { adjustForm('searchForm', 'search'); loadSearchSuccess(); }); // ajax load success event var loadSearchSuccess = function () { adjustDatagrid('dlgSearchDiscountBillForBank'); definedDataGrid('tableID', '', 'datagridToolBarID'); }; // toolbar click event $('#add').bind('click', function () { var dialog = 'DialogID'; $('#' + dialog).html(''); $('#' + dialog).load('/TransferDiscount/Add', function () { adjustForm(dialog, 'add'); layerDialog(' ', dialog, 'btnSave', save); }); }); // save event var save = function () { // do something here console.log('save done'); closeDialog(); } ------------------------------ ~~~~(>_
datePicker(); ------------------------------ ~~~~(>_
add demo
datePicker();

좋은 웹페이지 즐겨찾기