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 / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

Opera 7 breaks javascript that works in IE and NN
innerHTML and script elements are broken

10+ Year Member

Msg#: 289 posted 4:32 am on Feb 28, 2003 (gmt 0)

As a developer, I ignored Opera until version 7 because getting things to work was just impossible. OK for static pages, but when anything but the most rudimentary scripting was involved, until 7 it was impossible.
However, even though they've implemented most of the DOM and the core Javascript implementation is complete, there's still a lot of problems - mostly in the way they deviate from norms established by IE and NN.
I like version 7 for a lot of reasons and feel that if they can just bring the Javascript/DOM support more into line with the industry norm, they'll have a product that a lot more developers are willing to take into account.

I was wondering if anyone else was bothering to check their script in Opera7 and how are they finding it?

Two quick peeves from me to start the ball rolling:

1) The innerHTML property does not pick up the contents of style elements, comments, or script elements. Why not? IE and NN and Moz all do this.

2) Creating a script element using the DOM seems to create a script element but it does not load and execute the file specified by the src attribute. This defies common sense and defeats the purpose of being able to create the element in the first place.
Once again, IE, NN, Moz do this.

Does anybody else out there care?



10+ Year Member

Msg#: 289 posted 7:10 am on Feb 28, 2003 (gmt 0)

I care, just because I use Opera.


10+ Year Member

Msg#: 289 posted 10:49 pm on Mar 15, 2003 (gmt 0)

All in all I think it's a huge improvement. It's nice to have a 3rd browser to test DOM stuff in.

<style type="text/css">
h1 {
color: blue;
<style type="text/css" id="red">
h1 {
color: red;
<script type="text/javascript">
document.getElementById('red').disabled = true

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
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