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({
                                        height:'hide',
                                        opacity:'hide'
                                },"slow","easeInOutCirc",function()
{document.form1.submit();}  // submit the form manually in animate
callback
                                );
                        };return false;
                });
regards
Frika

Reply via email to