[Javascript] Event "Handlers" (Literally)

Flavio Gomes flavio at economisa.com.br
Thu May 27 10:58:55 CDT 2004


Aw.. God.. CaseSensitivity kills me.. o.o

Thanks ^^

---
Flavio Gomes
flavio at economisa.com.br



Peter-Paul Koch wrote:

>
>
>>  I searched for "event handler" hoping to find something actually 
>> would allow me to handle when the event occurs, but what I found was 
>> what to do when the event occurs.. like onclick="alert('Oh!! I was 
>> clicked')".
>>  And I wanted to do was something like this:
>>    <input type=text onchange="this.form.onSubmit();">
>
>
> Case sensitive! this.form.onsubmit()
>
> Otherwise this works perfectly. If you define an event handler, you 
> just define a method for an object (although as an extra special 
> service the method is called when the event takes place on the object).
>
> image.onmouseover()
>
> executes the mouseover event handler of the image (if any).
>
> -------------------------------------------------------------------
> ppk, freelance web developer
> Interaction, copywriting, JavaScript, integration
> http://www.quirksmode.org/
> Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
> ------------------------------------------------------------------
>
> _________________________________________________________________
> MSN Search, for accurate results! http://search.msn.nl
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list