2009/6/11 Miguel Beltran R. <yourpa...@gmail.com>

> Hi list
>
> Trying to do made more functions generics now I try with fire option.
> But this not work
> ('element1').observe('change',
> function(evt){document.fire.curry(evt.element()).('space:observer');});
> ('element1').observe('change',
> function(evt){document.fire.bind(evt.element()).('space:observer');});
> ('element1').observe('change',
> function(evt){document.fire.('space:observer').curry(evt.element());});
> ('element1').observe('change',
> function(evt){document.fire.('space:observer').bind(evt.element());});
>
>
> document.observe(''space:observer',function(evt,esto){
>    console.dir(evt); //this return the event
> console.log('*****'); console.dir(esto); //this return nothing
> console.log('-----');console.dir(this); //this return the document object
> });
>
>
> is possible do it?
> --
> ________________________________________
> Lo bueno de vivir un dia mas
> es saber que nos queda un dia menos de vida
>


if this is not possible can someone give a sugestion to make from another
way?

Thanks

--~--~---------~--~----~------------~-------~--~----~
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