For nutscrape, use .styles instead...
-Original Message-
From: Brian Scandale [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 24, 2002 4:50 PM
To: CF-Talk
Subject: RE: dynamic input text/background color
Works great Steve... thanks!
FYI: Netscape 4.7 chokes with a javascript
Use style tags (css)
if(this that){
document.forms.formname.textname.style.backgroundColor = 'red';
document.forms.formname.textname.style.color = 'white';
}
I'm pretty sure style.backgroundColor works on NS and IE.
_
steve oliver
senior internet developer
atnet
Works great Steve... thanks!
FYI: Netscape 4.7 chokes with a javascript error.
(frm.TotalRejNeeded.style has no properties)
At 06:37 PM 2/24/02 -0500, you wrote:
Use style tags (css)
if(this that){
document.forms.formname.textname.style.backgroundColor = 'red';
3 matches
Mail list logo