If you don't want to use textboxes then have a div in the page with the id 'divMessage' then a function such as:
Code:
function showMessage(Html, Append)
{
var oDiv = document.getElementById("divMessage");
if (Append)
{
oDiv.innerHTML += Html;
}
else
{
oDiv.innerHTML = Html;
}
}
to call use:
Code:
showMessage("<b>Hello</b>");
to clear the display and show an enboldened 'Hello', use:
Code:
showMessage("<i>World</i>", true);
to add an italicised 'World'.
--
Joe