We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

onkeydown broken firefox 9

  • 3 个回答
  • 25 人有此问题
  • 1 次查看
  • 最后回复者为 Igo_AtM

more options

Since auto updating to firefox 9.0.1 the javascript body event onkeydown seems broken I have the following function call in a body tag and key presses are not accessing the keyreader function at all <body onload='cms_init();' onkeydown='keyreader(event);'>

Since auto updating to firefox 9.0.1 the javascript body event onkeydown seems broken I have the following function call in a body tag and key presses are not accessing the keyreader function at all <body onload='cms_init();' onkeydown='keyreader(event);'>

由Igo_AtM于修改

所有回复 (3)

more options

I have the same problem with either onkeydown, onkeyup, and onkeypress events on the body tag. All my functions that uses key events on body tag stopped working in firefox 9.0.1

more options

A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.

more options

I think the failure of firefox 9 to respect key events on the body tag is actually an issue with the firefox code base rather than an issue with the XHTML validated script within the page that the problem occurs in. The purpose of presenting the question here was to attempt to direct the developers attention to the issue. It would seem that changes to the browser code have now made a valid body attribute none functional

由Igo_AtM于修改