Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: key code


Message #1 by "Bocai Mihai Cristian" <mihai.bocai@r...> on Mon, 25 Feb 2002 18:27:31 +0200
?
so where is the difference?
ok,ok I've spelled wrong the "or" operator, but it's not working in NS
??
"window.event has no properties..."

"Zach Kenyon" <zantispam@n...> wrote in message
news:150177@j...
>
> "Bocai Mihai Cristian" <mihai.bocai@r...> wrote:
>
> >how can I make this code to work in  NS
>
> function checkKey(){
>    if ((window.event.keyCode > 57) || (window.event.keyCode < 48)){
>       //alert("Please enter only digits in this box");
>       window.event.returnValue=false;
>    }
> }
>
>
> --
> Zach Kenyon
> Web Devloper / Analyst
>  xxx.xxx.xxxx
> zantispam@n...
>
>
>
> __________________________________________________________________
> Your favorite stores, helpful shopping tools and great gift ideas.
Experience the convenience of buying online with Shop@N...!
http://shopnow.netscape.com/
>
> Get your own FREE, personal Netscape Mail account today at
http://webmail.netscape.com/
>
>
>



  Return to Index