如何将立即焦点设置到弹出窗口 [英] How to set immediate focus to the popup window

查看:55
本文介绍了如何将立即焦点设置到弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我在 中修复焦点 time out弹出窗口。弹出窗口 后, 我按下选项卡 给予关注,无论页面 -keyword>打开。我 获取 我需要 写代码。 我是 这个Jquery Javscript科目。

解决方案

是的只是弹出你用css写的或使用库,如果css,当它显示你添加一个函数,如果你必须显示你的弹出或添加jquery代码你的第一个输入:

 


#TEXTID)聚焦();


Hi guys,
I got stuck in fixing the focus to the time out popup window. After popup window is coming , when i m pressing the tab to give focus, It still giving focus to whatever the page is open under it.  I am not getting where I need to write the code . And I ma new to this Jquery Javscript subjects.

解决方案

yes just the pop up did u write it with css or use library, if css, when its shows u add a function if u have to show ur popup or add the jquery code to ur very first input:


("#TextId").focus();


这篇关于如何将立即焦点设置到弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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