Here is my code for JQuery UI modal window:
$('<p>Message</p>').dialog({
modal: true,
buttons: {
Ok: function() {
$( this ).dialog( "close" );
}
}
});
How can I pass a variable instead of constant string (see Ok
above)