[jQuery] Re: Best of both jquery validate and jqueryyav

2007-08-31 Thread SeViR
Olivier Percebois-Garve escribió: Hi So far I have been able to make custom error boxes with the following code: $(".error").each(function(i, n){ $formElement = $(n).next('input, select'); $offset = $formElement.o

[jQuery] Re: Best of both jquery validate and jqueryyav

2007-08-31 Thread SeViR
Jörn Zaefferer escribió: Olivier Percebois-Garve schrieb: Will "implies" be integrated anytime soon in validate ? Could someone please explain how implies works like? I looked at the examples of YAV, but apart from the notion of dependencies I could figure out how it works. I'd be happy to

[jQuery] Re: Best of both jquery validate and jqueryyav

2007-08-30 Thread Jörn Zaefferer
Olivier Percebois-Garve schrieb: Will "implies" be integrated anytime soon in validate ? Could someone please explain how implies works like? I looked at the examples of YAV, but apart from the notion of dependencies I could figure out how it works. I'd be happy to integrate a similar featur

[jQuery] Re: Best of both jquery validate and jqueryyav

2007-08-30 Thread Olivier Percebois-Garve
Hi So far I have been able to make custom error boxes with the following code: $(".error").each(function(i, n){ $formElement = $(n).next('input, select'); $offset = $formElement.offset();

[jQuery] Re: Best of both jquery validate and jqueryyav

2007-08-30 Thread Olivier Percebois-Garve
Hi again. Ok one thing I dunno how to access is the input/select field in error. I would like to wrap a div around it in order to show that it has an error (it is necessary because IE for instance doesn't style select element) and to add a div after the error field to add some graphic elements. a

[jQuery] Re: Best of both jquery validate and jqueryyav

2007-08-30 Thread Olivier Percebois-Garve
Thanks. I only saw the second example. I'll play with it and be back with my results soon. (may I suggest you to add the examples to the downloads ) -Olivier On 8/30/07, SeViR <[EMAIL PROTECTED]> wrote: > > > I don't understand WHY you need pass a function for show the errors... > The position of

[jQuery] Re: Best of both jquery validate and jqueryyav

2007-08-30 Thread SeViR
I don't understand WHY you need pass a function for show the errors... The position of the errors in jQuery.YAV is related to the error element. So you can only pass jQuery transversing and manipulation functions ("after", "before", "prepend",). The rest (the error visualization) can be se