J QUERY DIALOG BOX
function showDidNotWorkMsg() {
var msg = "This is a 'Did Not Work' billing line with no details.AAAA";
$("#divDidNotWorkMsg").html(msg);
$("#divDidNotWorkMsg").dialog({
modal: true,
width: 500,
//height: 195,
closeOnEscape: false,
draggable: false,
resizable: false,
//title: 'Error',
buttons: [
{
text: 'OK',
click: function() {
$( this ).dialog( "close" );
},
'class': 'gold-button'
}
],
open: function(event, ui) {
$(this).closest('.ui-dialog').find('.ui-dialog-titlebar-close').hide();
$(this).closest('.ui-dialog').addClass('custom-fileupload-err-dialog');
},
show: {
effect: "fade",
duration: 1000
},
hide: {
effect: "drop",
duration: 1000
}
});
}
div id="divDidNotWorkMsg" style="display:none;list-style:disc !important;"/div
function showDidNotWorkMsg() {
var msg = "This is a 'Did Not Work' billing line with no details.AAAA";
$("#divDidNotWorkMsg").html(msg);
$("#divDidNotWorkMsg").dialog({
modal: true,
width: 500,
//height: 195,
closeOnEscape: false,
draggable: false,
resizable: false,
//title: 'Error',
buttons: [
{
text: 'OK',
click: function() {
$( this ).dialog( "close" );
},
'class': 'gold-button'
}
],
open: function(event, ui) {
$(this).closest('.ui-dialog').find('.ui-dialog-titlebar-close').hide();
$(this).closest('.ui-dialog').addClass('custom-fileupload-err-dialog');
},
show: {
effect: "fade",
duration: 1000
},
hide: {
effect: "drop",
duration: 1000
}
});
}
div id="divDidNotWorkMsg" style="display:none;list-style:disc !important;"/div
No comments:
Post a Comment