i got a ui-dialog which i need to set its content message but i can't seem to see the text my function is as follows
function showSuccessMessage(user,reg)
{
var msg;
if (reg == true)
msg = "User "+user.toString() +" Successfully Registered";
else
msg = "User " + user.toString() + " Successfully Edited";
$("#box").dialog({
title:"User Registration",
html:msg,
modal: true,
buttons: {
Ok: function () {
$(this).dialog("close");
var s = "../Pages/main.aspx";
window.location = s;
}
}
});
} // end function
any idea what i'm setting wrong all the other properties accept html work is html even the content text attribute ? i couldn't come across any source verifying this
thanks in advance.