[英]Node.js Module for Popups in Jade
I have a Application in Node.js with the Template Engine Jade. 我在带有模板引擎Jade的Node.js中有一个应用程序。 I need a module to show a message Box or similar, when the user clicks on a submit button, Like "Do you really submit?"
当用户单击提交按钮时,我需要一个模块来显示消息框或类似框,例如“您真的提交了吗?”
If it is a browser app, you can easily use the confirm
function (see MDN for usage documentation). 如果它是浏览器应用程序,则可以轻松使用
confirm
功能(有关用法说明,请参阅MDN )。 See this SO answer for an example of usage in conjunction with onclick
. 有关与
onclick
结合使用的示例,请参见此SO答案 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.