Capturing onkeydown in Javascript

后端 未结 2 1888
面向向阳花
面向向阳花 2021-01-07 06:18

I have a web front-end to an AS/400 CGI application which allows the use of some of the F1-F24 keys (depending on the page) as well as page-up, page-do

2条回答
  •  礼貌的吻别
    2021-01-07 07:00

    You should always return false from event handlers even if you have prevented default by modifying the event, see Quirks mode for more information.

提交回复
热议问题