Ext.MessageBox.confirm("選擇所有", "肯定選擇?", function (btn) { if (btn !== "yes") { return; }//在此處寫程序邏輯 });io