jconfirm插件确定并取消按钮 [英] jconfirm plugin Ok and cancel button

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

问题描述

jconfirm插件,当我使用鼠标它返回实际值,即按下确定或取消按钮时的真或假,但当我使用Tab键并专注于取消,然后按Enter键它实际上把它视为好现在如何停止这。我有一个想法,使用按键事件输入密钥,但它不是用户友好所以告诉我任何解决方案。

jconfirm plugin when i use mouse it return actual value i.e true or false on pressing OK or Cancel button but when i use tab key and have focus on cancel and then press Enter key it actually treat it as OK now how to stop this.I have an idea to use keypress event for enter key but it is not user friendly so tell me any solution.

推荐答案

请尝试这些:http://riggerthegeek.github.io/jConfirm/examples.html [ ^ ]


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

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