I know this question is asked already but I am not finding solution for this
Here is my jquery code:
function openArmoryDialog(id) {
var divID = $("#ArmoryDialogDiv");
$.ajax({
type: "GET",
url: "/aoa_mvc/armory/Detail/" + id,
cache: false,
dataType: 'html',
error: function (XMLHttpRequest, textStatus, errorThrown) {
$(divID).html(errorThrown);
},
success: function (data, textStatus, XMLHttpRequest) {
$(divID).html(data);
},
complete: function (XMLHttpRequest, textStatus) {
$('#ArmoryDialogDiv').dialog({
width: 500,
modal:true // This is not working
});
}
});
}
I don't know why modal popup is not opening, I have tried many solutions but none is working for me
I included needed css file