[jQuery] Re: form effect

2008-06-07 Thread Frika
Hello Mike, thank you for your support. It was the right direction. In the beginnig it won´t work anyway, but now it did :-): $("#form1").submit(function () { if ($("#div1").is(":visible")) { $("#div1").animate({

[jQuery] Re: form effect

2008-06-06 Thread Mike Alsup
> I have made a mailform and if the user click on the submit button the > mailform should first dissapear before post the message. I had tried > the follow way: > > $("form").submit(function () { > >                         if ($("#div1").is(":visible")) { >                                 $("#div