with yah there about Friday.

try:

http://jsfiddle.net/8RVSt/4/

Gafa


On Aug 27, 10:18 am, Rolf -nl <[email protected]> wrote:
> If I use Form.Validator the default way I can use the events that are
> fire like onElementFail and onFormValidate, like:
>
> http://jsfiddle.net/8RVSt/
>
> (see console)
>
> But if I make Form.Validator an instance of an element (correct way of
> saying this?) I can check if validate() returns true or false, but
> what happens to the events that Form.Validator fires? I can't seem to
> "catch" them:
>
> instance of element:http://jsfiddle.net/8RVSt/2/
>
> Testing it I also tried attaching the events (that Validator fiers) to
> the element etc. but no luck either...
>
> I'm guessing it's because it's friday and my brain can't take no more
> JS this week that I can't wrap my head around this?!!? Cheers.

Reply via email to