Can I do SendKeys in Javascript?

前端 未结 4 1111
一个人的身影
一个人的身影 2020-12-03 01:45

SendKeys is method to sending keystroke to an application.
Can I do it in Javascript, to send keystroke in browser ?

REF :
http://msdn.micro

4条回答
  •  既然无缘
    2020-12-03 02:11

    Not by default in most browsers, no. You may be able to get it to work using ActiveX if it's going to be running in Internet Explorer, however.

提交回复
热议问题