This is a continuation of my previous thread…
I changed <input type=”image”> to a <img src….> tag.
I executed the code below. But, it totally disables the next and Back gifs even before I click on any of the the imges in NS. But, it works fine in IE. Any ideas?
Gil Davis:
You must not have read khalid’s post about getElementById() – that NS 4.x does not support it.
code:——————————————————————————–function DisableNext() {
if (!document.CHActiveation.NextBtn.disabled)
{document.CHActivation.action=”<cfoutput>#VisaApp.FullURL##XFA.EnrollThanks#&RequestTimeOut=500</cfoutput>”;
document.CHActivation.submit();
document.CHActivation.NextBtn.disabled = true;
document.CHActivation.NextBtn.src=”<cfoutput>#VisaApp.Images#</cfoutput>btn_next_off.gif”;
document.CHActivation.BackBtn.disabled = true;
document.CHActivation.BackBtn.src=”<cfoutput>#VisaApp.Images#</cfoutput>btn_back_off.gif”;
}
}——————————————————————————–
BTW, NS 4.x does not support onClick for an input type=”image”, anyway. See [url]http://devedge.netscape.com/library…10.html#1312530