JQuery Modal Dialog Form Submission
- by peterwkc
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.