I have mentioned the javascript code
 function submitCmdFile(  )
 {
    var dialog = $("#dialog").dialog({
    resizable: false,
    height: 200,
    modal: true,
    buttons: {
    "Submit": function () {
     $("#dialog").find("form").submit();
     $(this).dialog("close");
    },
    "Cancel": function () {
    $(this).dialog("close");
    }
    }
});
}
In this code, How to get the submit button value to php?
 
     
     
    