用户按f2键时如何打开新页面 [英] How to Open New Page when user press f2 key

查看:100
本文介绍了用户按f2键时如何打开新页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



你可以告诉我如何在用户点击网络底座中的f2键时在下拉列表焦点/选择控件上打开新页面。我开发了一个web基础应用程序,有两个页面国家和州主。现在状态主页面上它们是两个控制文本框和下拉列表,所以当用户选择下拉列表控件并按f2时,国家主页面应该打开而不关闭并影响状态主机上的值页面,与windows窗体相同

Hello,

can you please tell me how to open new page on dropdownlist focus/select control when user click f2 key in web base .suppose i developed a web base application ,having two pages country and state master .Now on state Master page their are two control textbox and dropdownlist ,so when user select dropdownlist control and press f2 then the country master page should open without closing and affecting the value on state master page, same as windows form

推荐答案

hi aarti



http://www.google.co.in/#q=asp%20net%20keyboard%20shortcuts [ ^ ]



hi aarti

http://www.google.co.in/#q=asp%20net%20keyboard%20shortcuts[^]

apply shortcuts first then go for the event when you get f2 key then
 write

window.open('your url','if you want to open in blank tab');



问候......:)


regards...:)


使用如下的库: http ://www.stepanreznikov.com/js-shortcuts/ [ ^ ]应用快捷方式。
Use a library such as this: http://www.stepanreznikov.com/js-shortcuts/[^] to apply shortcuts.


这篇关于用户按f2键时如何打开新页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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