put this code in head script function ……() script head function checkKeyCode(evt)
{
alert(‘hello 1’);
var evt = (evt) ? evt : ((event) ? event : null);
var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);
if(evt.keyCode==116)
{
alert(‘hello 2’);
evt.keyCode=0;
return false
}else
{
alert(‘typeof evt.keycode’);
}
}
document.onkeydown=checkKeyCode();

Advertisements
Comments
  1. Jean Munoz says:

    Rattling good visual appeal on this website , I’d value it 10 10.

    Like

  2. Vania Shuler says:

    I appreciate your post, it is interesting and compelling. I have found my way here through Google, I shall get back once more 🙂

    Like

  3. blackjack set says:

    Wohh just what I was searching for, regards for putting up.

    Like

  4. blackjack games free download says:

    Very interesting subject, regards for posting.

    Like

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s