But it does work

See this fiddle http://jsfiddle.net/4MUZ4/

also make sure you are running the observe method after the DOM has
finished loading and is ready to be manipulated




Jason Westbrook | T: 313-799-3770 | [email protected]


On Sun, Jul 13, 2014 at 11:33 PM, Иван Иванов <[email protected]> wrote:

> Hi Team,
>
> <input id="login" type='submit' value='login' />
>
>     Event.observe("login", "click", function(){
>         alert("t2");
>         });
>
> Why don't work?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prototype & script.aculo.us" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to
> [email protected].
> Visit this group at http://groups.google.com/group/prototype-scriptaculous
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/prototype-scriptaculous.
For more options, visit https://groups.google.com/d/optout.

Reply via email to