handling ctrl + key event in IE browser

前端 未结 1 1376
梦毁少年i
梦毁少年i 2021-01-21 19:29

I\'m using hotkeys (Ctrl+key) in my flex application. getting problem when my app is running in IE. when I press Ctrl+D, im getting \

相关标签:
1条回答
  • 2021-01-21 20:01

    In your event handler, try

    event.returnValue = false;
    

    See this SO thread: event.preventDefault() function not working in IE

    0 讨论(0)
提交回复
热议问题