Hi,
I am trying to bold part of a text in my confirmation screen to be bold. I surfed the web and i tried using it but it just would't work. I don't know what I am doing wrong. below is my code.
window.onbeforeunload = confirmExit;
function confirmExit()
{
if (needToConfirm)
var text = "This will end your current session.";
var textBold = text.bold();
return (textBold);
}
but all this does is return the string with a <b>....</b> in the confirmation screen. Instead I would like to be actually bold. What did I do wrong here?
thanks,
muru
I am trying to bold part of a text in my confirmation screen to be bold. I surfed the web and i tried using it but it just would't work. I don't know what I am doing wrong. below is my code.
window.onbeforeunload = confirmExit;
function confirmExit()
{
if (needToConfirm)
var text = "This will end your current session.";
var textBold = text.bold();
return (textBold);
}
but all this does is return the string with a <b>....</b> in the confirmation screen. Instead I would like to be actually bold. What did I do wrong here?
thanks,
muru