On Jun 7, 8:05 am, 操坤 <madfro...@gmail.com> wrote:
> Hi:
>         Sorry for my poor English  :P
>         I know your meaning of your reply:
>
> I did a simple test:
>
>         test=function(){
>                 alert("111111");
>         }
>         Event.observe(window,"load",test);
>
The above is correct.

>         function test2(){
>                 alert("22222");
>         }
>         Event.observe(window,"load",test2());

The above is wrong.

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to