It may be better to observe form's submit event instead of the buttons. This
fires the event no matter how the form was submitted (for example, press
"enter" when an input field is focused).
("#form-config-content-make").submit(function()
{
    top.$.nyroModalRemove();
    return true; // submits the form
});

-Hector


On Wed, Nov 12, 2008 at 11:42 AM, Martin Möller <[EMAIL PROTECTED]> wrote:

>
> Hi List,
>  please take a look, heres my sample code:
>
> $(".form-config-content-make-button").click(function() {
>        $("#form-config-content-make").submit(top.$.nyroModalRemove());
> });
>
> Right now: The Nyromodal window gets removed but it doesnt fire submit.
>
> Greets,
> Martin
>

Reply via email to