[jQuery] Re: Is there an onChange method?

2009-09-24 Thread Loony2nz

Anyone?

Here's what I'm trying to do.

Right now, I have a form in a lightbox.  Whenever the form is
submitted with errors, the lightbox will expand to show the form with
the errors.  Using the onSubmitHandler, I get the size of the new form
and expand the lightbox.

When a form entry is then fulfilled properly, the error message
disappears, but the form/lightbox stays the same size.  I'd like to
shrink the lightbox each time a form field is validated.

What API function can I call when a field goes from invalid to valid?

thanks!


On Sep 18, 4:47 pm, Loony2nz  wrote:
> huh?  You lost me there.
>
> On Sep 17, 5:55 pm, lanxiazhi  wrote:
>
> > you code defined when to enable,disable a button/field,so add the code
> > there.


[jQuery] Re: Is there an onChange method?

2009-09-18 Thread Loony2nz

huh?  You lost me there.

On Sep 17, 5:55 pm, lanxiazhi  wrote:
> you code defined when to enable,disable a button/field,so add the code
> there.


[jQuery] Re: Is there an onChange method?

2009-09-17 Thread lanxiazhi
you code defined when to enable,disable a button/field,so add the code
there.


[jQuery] Re: Is there an onChange method?

2009-09-17 Thread Loony2nz

@MorningZ:

http://bassistance.de/jquery-plugins/jquery-plugin-validation/

On Sep 17, 5:01 pm, MorningZ  wrote:
> Which plugin do you speak of?  that would be a huge help for others to
> help you
>
> On Sep 17, 7:42 pm, Loony2nz  wrote:
>
> > I'd like to trap for a field going from invalid to valid.
>
> > something like,
>
> > onchange: function(){
> >    alert('Yay, the field is valid and you can follow instructions');
>
> > }
>
> > Is there something in the plugin that I can use to intercept this?
>
> > thanks!


[jQuery] Re: Is there an onChange method?

2009-09-17 Thread MorningZ

Which plugin do you speak of?  that would be a huge help for others to
help you

On Sep 17, 7:42 pm, Loony2nz  wrote:
> I'd like to trap for a field going from invalid to valid.
>
> something like,
>
> onchange: function(){
>    alert('Yay, the field is valid and you can follow instructions');
>
> }
>
> Is there something in the plugin that I can use to intercept this?
>
> thanks!