hi
i am displaying the jQUERY dialog popup
its working in first time
it not opening second time.
its working in first time
it not opening second time.
$(function () {
$('#lnkAddSubTask1').click(function () {
var mydiv = $('#popupdiv');
mydiv.dialog({
autoOpen: true, width: '1250', height:'auto',
open: function (event, ui) { $(".ui-dialog-titlebar-close").hide(); },
modal: true,
//close: function () {
// location.reload();
// //$('body').load('Budgeting.aspx');
//}
buttons: {
Close: function () {
//mydiv.closest('.ui-dialog-content').dialog('close');
window.location.reload();
//mydiv.dialog('close');
// mydiv.css()
}
}
});
// Load the content using AJAX
mydiv.load('AddSubTask.aspx');
// Open the dialog
mydiv.dialog('open');
});
})
Thiru RPosted Feb 29, 2016, 4:49 AM
Dear Ravi,
The below said code will work as you expected .
Rajeev PunhaniPosted Feb 29, 2016, 3:25 AM
Hi Ravi,
Please find the below link.
If the above solution is helpful then,accept the answer.
Ravi KumarPosted Feb 29, 2016, 2:40 AM
Manas MohapatraPosted Feb 29, 2016, 2:22 AM
Ravi KumarPosted Feb 29, 2016, 1:58 AM
Manas MohapatraPosted Feb 29, 2016, 1:41 AM