jQuery UI 給button添加ID
阿新 • • 發佈:2018-04-28
tap pic fun dia closed jquer form mod class
$("#addOrEditApp").dialog({ modal: true ,maxHeight:dialogHeight,width:dialog_width,title: "修改",close:function(){resetFormApp();} , buttons:[ { id : "saveid", text : "確定", click : function() { saveApp(); } }, { id:"cancelid", text:"取消", click:function(){ closeDialogApp(); } } ] });
參考地址:http://forum.jquery.com/topic/ui-dialog-form-add-a-button-with-an-id#14737000002068724
jQuery UI 給button添加ID