2017-07-02 11 views

回答

0

你可以使用默認的確認框:

if (confirm('Open Office ?')) { 
 
    // Do something if user clicks Yes 
 
} else { 
 
    // Do nothing 
 
}

或者使用jQuery UI的對話框https://jqueryui.com/dialog/

相關問題