Our AJAX application intercepts F9 to provide contextual assistance. It works in IE7 +, Chrome, Safari, and Opera, but not in Firefox. Help!

We did the IE, Firefox, Chrome, Safari and Opera - research looking for a touch of common function which was unused to use to help our application context key - and settles on the F9 key.
Is there a way to ensure that the key F9 key can be passed to the page - it seems doing nothing in Firefox, but is not passed to the page. -Thanks!

Firefox does not window.event as IE does. He never has. Modern browsers can pass the event handler inline object. Here is an example. I don't know if older browsers support this (it works in IE8):

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>Test F9 keydown inline handler</title>
</head>
<body>
<p>Try F9<br><input type="text" name="textinput" size="25" value="sample value" onkeydown="keys(event,100)"></p>
<script type="text/javascript">
function keys(evt, arg){
  if (evt.which == 120 || evt.keyCode == 120){ // F9 key
    alert("Function passed: "+arg);
  }
  return false;
}
</script>
</body>
</html>

Tags: Firefox

Similar Questions

Maybe you are looking for

  • Satellite L830 - horizontal line across the screen

    All new Satellite L830 has a horizontal line across the screen. What can be the cause and how can be fixed?

  • Type of LCD W530?

    What kind of screen is in a W530? I have a FHD (I think) but when it comes to calibration I the following options CCFL Wide CCFL Gaumet White LED Red LED OLED Plasma Phosphorus RG Any ideas please?

  • host process for windows services has stopped working - how to solve this please

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! Ideas: Programs that you have problems with windows services Error messages host process has stopped working Recent changes made to your compute

  • What should be the dosage of the IE8 user-agent?

    Just out of curiosity, my dosage of the user agent for IE8 is: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729)This is the default value?  If so wh

  • Managing sessions in ADF

    HelloI work with Jdev 11.1.1.6I think I might have a problem with session management in my application.My data model essentially consists of two tables. A main table called SV_solicitudes and a secondary table called obj. Is actually a master detail