正如标题所示,我想将Enter键添加为Bootbox.js的事件处理程序.当您调用alert()弹出窗口时,可以按Enter键将其关闭,但Bootbox.js不是这种情况.我不知道如何访问Bootbox.js中的按钮来添加事件处理程序.有什么建议?
html javascript html5 bootbox
bootbox ×1
html ×1
html5 ×1
javascript ×1