[Javascript] Re: Re: Is this right Javascript?

Peter-Paul Koch gassinaumasis at hotmail.com
Wed Apr 9 11:27:22 CDT 2003



> >   Third, 'onkeydown' is undefined for normal JavaScript (although it may
>have
> >   some bizarre other-worldly existence in M$oft's bastardized JScript).
> >
> >   I suspect the event you were attempting to intercept was 'onclick',
>which
> >   IS defined, and actually makes sense for a checkbox.
>
>I know it's cool to bash Microsoft whenever the chance arises, but a simple 
>sample would show you this is not some "bastardized" javascript unless NN 
>is now bastardizing it too:
>
><form name="Test1">
>
>
><textarea onkeydown="alert('hello')"></textarea>
>
></form>
>
>
>Put that on a page and view it in NN and you'll see it works fine, as long 
>as you're not using the ultimate in bastardized browsers - NN4.7

It even works in NN4.7 The Key events have been around, and well supported, 
since the Version 4 browsers.

--------------------------------------------------
ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
--------------------------------------------------


_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail



More information about the Javascript mailing list