문제

I am not being able to raise the formSubmitting event when I am submitting a custom jQueryUI modal using jTable. Following is the jqeuryui modal code:

$("#editDialog").dialog({
    height: 600,
    width: 500,
    autoOpen: false,
    modal: true,
    show: {
        effect: "fade",
        duration: 250
    },
    hide: {
        effect: "fade",
        duration: 250
    },
    buttons: {
        Cancel: function () {
            $(this).dialog("close");
        },
        Save: function () {
            $(this).find("form").submit();
            $(this).dialog('close');
        }
    },
    close: function () {
        //allFields.val("").removeClass("ui-state-error");
    }
});

Any suggestion on how to achieve this is highly appreciated.

도움이 되었습니까?

해결책

Could not. Ended up showing the custom modal on own bound click event.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top