Dialog box not working

Dialog box not working


Hi, 

    I have one popup window with this having 'SAVE' and 'CANCEL' button. when I click save button it goes to the  Generate Pdf Method for  Particular Action(Controller) in MVC.but not showing the dialog box.

Without using Jquery dialog box is coming.

this is sample code.

button click:

<input type="submit" id="simpledialog" value="GenratePaySlip" />

in this button click bind webgrid

<div id="dialogbox">
    @grid.GetHtml(displayHeader: false,
         tableStyle: "grid",
         headerStyle: "head",
         columns: grid.Columns(
                         grid.Column("Empinfo"),
                         grid.Column("EmpMonthSalaryinfo")
                          )
                      )
</div>








Jquery function

"Save": function () {
                        $.ajax({
                            url: '@(Url.Action("PrintPDF", "samplecontroller"))',
                            type: 'POST',
                          
                        });




Can you please help me.

Thanks

Deivendran