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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

innerHTML for Mozilla? 1

Status
Not open for further replies.

Einstein47

Programmer
Nov 29, 2001
737
0
0
US
I am using the innerHTML and innerText methods successfully with IE. Will the innerHTML and innerText work with Mozilla (or Netscape 6 or 7). If yes, how is it done?

Thanks in advance, Einstein47
("For every expert, there is an equal and opposite expert." - Arthur C. Clarke)
 
innerText does not work. Use innerHTML in all cases for now. :)

I think there is a way to create the innerText method in mozilla but I'd have to dig deep for that. I'll keep you posted if I find something. Gary Haran
 
WOW!!! I did a Google search and turned up squat. I bow to your exceptional Goolge prowess. [yoda] <- you

However, on further consideration, I just changed all my innerText references to innerHTML and that worked just fine. I had no need for displaying < , > or &.

I won't say &quot;thanks for nothing&quot;, but I do feel that you get a star for hitting my nail on the head (even if I didn't need that nail [borg2] ). Einstein47
(&quot;If computers ever get too powerful, we can organize them into a committee - that will do them in.&quot; - Unknown)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top