$("div").delegate(".btn-primary","click",function(){
return confirm("Are you sure??");
});
進行數據綁定,確認框總是彈出2次,後來發現頁面有2層div標籤導致2次數據綁定。
修改爲
$("#table").delegate(".btn-primary","click",function(){
return confirm("Are you sure??");
});
後,問題解決$("div").delegate(".btn-primary","click",function(){
return confirm("Are you sure??");
});
進行數據綁定,確認框總是彈出2次,後來發現頁面有2層div標籤導致2次數據綁定。
修改爲
$("#table").delegate(".btn-primary","click",function(){
return confirm("Are you sure??");
});
後,問題解決瞭解更多關於bootloader 的C語言實現,請加我Q扣: 1273623966 (驗證信息請填 bootloader),歡迎諮詢或定製bootloader(在線升級程序)。
經常碰到這種情況,我們需要把一個文件從A位置轉移到B位置。 但是單純的拖拽只會複製相關文件,沒有辦法直接做到位置修改轉移的效果。 搜索了一下,發現shift按住之後再進行就可以改複製爲剪切了。
關機 [[email protected] xx]# init 0Receive Connection closedConnection websocket closed #