O
OccasionalFlyer
I'm trying to get around the limitation of a function that accepts a
string primitive but does not allow for setting attributes of that
sring by using a string objet. It is not paying any attention to the
attributes I set. Can someone please tell me what I'm doing worng?
var msg = new String(
'WARNING: Quiting now will cancel all changes up to this point, ' +
'leaving your schedule as it was when you began this session. ' +
'Are you sure you want to quit?'
);
"msg".blink();
"msg".fontsize(7);
if (confirm(msg))
{
document.location.href = '<jsp:getProperty name="req"
property="contextPath"/>/regcontrol?command=SessionDone';
}
else
{
return false;
}
Thanks.
Ken
string primitive but does not allow for setting attributes of that
sring by using a string objet. It is not paying any attention to the
attributes I set. Can someone please tell me what I'm doing worng?
var msg = new String(
'WARNING: Quiting now will cancel all changes up to this point, ' +
'leaving your schedule as it was when you began this session. ' +
'Are you sure you want to quit?'
);
"msg".blink();
"msg".fontsize(7);
if (confirm(msg))
{
document.location.href = '<jsp:getProperty name="req"
property="contextPath"/>/regcontrol?command=SessionDone';
}
else
{
return false;
}
Thanks.
Ken