WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Can you disable the find in mozilla, Anders Both, March 5, 2004
     Re:Can you disable the find in mozilla, Erik Arvidsson, March 5, 2004
         Re:Can you disable the find in mozilla, Anders Both, March 15, 2004
             I found out., Anders Both, March 16, 2004

Subject: Re:Can you disable the find in mozilla From: Anders Both Date: March 15, 2004

But it does not work for me. I made this code: , And it does not work ?

<HTML>
<HEAD>
<SCRIPT>
function keyDownBody(e)
{
e.preventDefault();
}
</SCRIPT>
</HEAD>
<BODY onkeydown="keyDownBody(event)" id="body">
</BODY>
</HTML>


 

From: Erik Arvidsson
Sent: March 5, 2004
Subject: Re:Can you disable the find in mozilla

Sure, use preventDefault() on the event object used in the key event.

erik





Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX