JavaScript确认按钮 [英] JavaScript Confirn Button

查看:78
本文介绍了JavaScript确认按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在不单击确定"或取消"的情况下关闭javascipt确认按钮?此功能用于为用户提供选择,您的代码将对此做出反应.如果确认函数返回的结果不确定,那么如何编写逻辑?


How to close javascipt confirm button without clicking on Ok or Cancel?

解决方案

If you mean the confirm dialog then what would be the point. This function is used to give users a choice, which your code would react to. If the confirm function returned an indeterminate result how could you write your logic?


这篇关于JavaScript确认按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆