Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing labels via JavaScript

Status
Not open for further replies.

Rydel

Programmer
Feb 5, 2001
376
CZ
How can I change a static text (label in a form) in Netscape 4.xx version of my page, using JavaScript?

If it's not possible, what's the workaround for this? Big thanks in advance! ---
---
 
Just a small clarification. In my Internet Explorer code I have the following line:

txtCustName_lbl.innerHTML = &quot;<PRE style='font-size:12;font-family:Arial;color:#000066;'>&quot; + txtCustName.value + &quot;</PRE>&quot;

where txtCutName is a hidden value from the form, which is populate from the server-side.

So I want to do something like txtSomeControl.innerHTML = &quot;something...&quot; in NN4.xx, but have no idea if this is possible at all.

P.S. Is this the appropriate forum or I better post this question to JavaScript forum only? ---
---
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top