JQuery Modal Dialog Form Submission

Posted by peterwkc on Stack Overflow See other posts from Stack Overflow or by peterwkc
Published on 2012-11-30T10:59:12Z Indexed on 2012/11/30 11:03 UTC
Read the original article Hit count: 223

Filed under:
|

I have a JQuery Modal Form and when i add the submit event, it cannot display as dialog but rather than embedded into browser window. If I uncomment the click event below, it will embedded into browser window rather than show as dialog.

$(document).ready(function(){

        //$("#moveTicketBtn").click() {
        //  $("#moveUnknownTicket").submit();
        //};


        $("#moveUnknownTicketDialog").dialog(
        {
            title: "Move Unknown Ticket",
            autoOpen: true,
            modal: true, 
            resizable: true, 
            stack: true, 
            width: 500, 
            height: 350 
        }); 




    });

Does anyone have any idea why it is like this? Please help. Thanks.

© Stack Overflow or respective owner

Related posts about dialog

Related posts about jquery-ui-dialog