I have recently set up a server certificate on a web site.
Under certain conditions I need to change the color of a html span
element.
I do this using the following javascript function called from the
onreset attribute of the form element.
function removeWarningMs g()
{
if (isIE) {
document.all.Wa rning.style.col or = "<%=BACKGROUND_ COLOUR%>";
}
return true;
}
This was working perfectly fine until I applied the server certificate
to the website.
Now when executing this line of code the following error occurs:
Error: 'document.all.w arning.style' is null or not an object.
I am fairly new to both Javascript and SSL so if anyone could throw
any light on to what the issue may be it would be greatly appreciated.
regards Simon
Under certain conditions I need to change the color of a html span
element.
I do this using the following javascript function called from the
onreset attribute of the form element.
function removeWarningMs g()
{
if (isIE) {
document.all.Wa rning.style.col or = "<%=BACKGROUND_ COLOUR%>";
}
return true;
}
This was working perfectly fine until I applied the server certificate
to the website.
Now when executing this line of code the following error occurs:
Error: 'document.all.w arning.style' is null or not an object.
I am fairly new to both Javascript and SSL so if anyone could throw
any light on to what the issue may be it would be greatly appreciated.
regards Simon
Comment