Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Objects


Message #1 by rharmstrong2@h... on Sat, 1 Jun 2002 17:03:22
> var message = UserMessage.firstChild.innerHTML.

It is the innerText that I want from (UserMessage)

It should work in IE,
Don't know about NS.

Oleg.




I  have a variable called (var message) and I want to connect it to: 
UserMessage 

<DIV id=UserMessage style="COLOR: black; CURSOR: default; HEIGHT: 38px; 
LEFT: 18px; POSITION: absolute; TOP: 30px; VISIBILITY: visible; WIDTH: 
396px; Z-INDEX: 105"><SPAN 
style="COLOR: black; FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 14pt;
mso-
fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-
fareast-language: EN-US; mso-bidi-language: AR-SA">Add 
ang to the letters below to make a word. You have to find six 
words.</SPAN></DIV>

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
---
Change your mail options at http://p2p.wrox.com/manager.asp or 
to unsubscribe send a blank email to



  Return to Index