ok i'll try to re-explain it :

I would like to extend the class "INPUT" to add specific behaviors for
all INPUTs already in the loaded document or which will be added later
dynamically to the document.
I want to add custom behaviors at INPUTs initialization, INPUTs focus
and INPUTs blur (out of focus).

So I imagined there was a way to do this once for all thanks to
prototype Object.extend(...)

On Jul 9, 11:30 pm, kangax <[EMAIL PROTECTED]> wrote:
> I still don't understand what the problem is...
> -- kangax
> On Jul 9, 2:59 pm, onitsuka <[EMAIL PROTECTED]> wrote:
> > Thanks, that's interesting, but still not what i'm looking for.
> > On Jul 9, 8:12 pm, jdalton <[EMAIL PROTECTED]> wrote:
> > > Ahh now I remember where I saw event deligation for blur and focus
> > > (works in IE too) 
> > > :)http://ajaxian.com/archives/event-delegation-for-blur-and-focushttp:/...
> > > Here is a test I did of this for Prototype back in April 
> > > 08:http://pastie.org/pastes/186221(usesonfocusinand onfocusout)
> > > - JDD
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to