homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Browsers / Opera Browser Usage and Support
Forum Library, Charter, Moderator: open

Opera Browser Usage and Support Forum

Disappointed with Opera
no innerHtml

 10:02 pm on Jun 29, 2001 (gmt 0)

I have a js script that updates the contents of <div id="bla"> tag that works on Netscape 4.0 to 6.0 and IE 4.0 forwards. Opera has added the GetElementById but thats as far as I can get. Looks like I am going to give opera users an alert box.

It seems to me that if from 4.0 browsers forward it possible. There should be a way with Opera. ??

I have converted to a full time Opera user and enjoy the heck out of it. This surprises me.



 1:24 am on Jun 30, 2001 (gmt 0)

innerHTML is a proprietary IE extension. Have you tried using the standard DOM1 equivalents? They should be faster, anyway.


 1:59 am on Jun 30, 2001 (gmt 0)

innerHtml is now used by Netscape 6.(It looks like many of the once proprietary IE extension have been adopted).

I am using the standard DOM1 equivalents for the older Netscape browsers but I can't replace content of a div tag in opera. I am new to this level of scripting and am still learning


 11:19 pm on Jun 30, 2001 (gmt 0)

NN4 supports basically nothing from standard DOM1. While innerHTML has been adopted by NS6, it's still not a part of the standard and isn't (afaik) supported anywhere else.

The ...Child() functions and their relatives are part of the standard, so there's a good chance Opera supports them (I don't remember off the top of my head) and they tend to provide better performance than innerHTML. Have you tried them on Opera yet?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Browsers / Opera Browser Usage and Support
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved