如何在Javascript中为弹出窗口设置Tab键顺序 [英] How Can I Set Tab Order For Popup Window In Javascript

查看:102
本文介绍了如何在Javascript中为弹出窗口设置Tab键顺序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



当我按下弹出窗口的Tab键时,首先它会进入弹出窗口的图像,它将转到父窗口的右上角关闭按钮而不是去弹出窗口的确定和取消按钮。它应该去图像,确定并取消弹出窗口的按钮。请帮助任何人解决这个问题。



问候

sherin

解决方案

使用tabindex属性。



http://www.w3schools。 com / tags / att_global_tabindex.asp [ ^ ]

hi,
when i press on tab key of my popup window , first it is coming to image of popup window and it is going to the top right corner close button of parent window instead going to the ok and cancel buttons of popup window. It is supposed to go to image , ok and cancel buttons of popup window. Please help anyone to solve this.

Regards
sherin

解决方案

use tabindex attribute.

http://www.w3schools.com/tags/att_global_tabindex.asp[^]


这篇关于如何在Javascript中为弹出窗口设置Tab键顺序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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