473,574 Members | 2,474 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web page OK on Mozilla but not on IE

Hi,
I developed a web page using javascript on Linux machine and tested
to work fine on Mozilla. Now I tried to view the page in IE which is
returning javascript error.
How can I successfully make my compatible with IE too.
Please refer to some links or readings where such related problem is
dealt with.
Is there any checklist for making web pages compatible for IE?

Regards,
Suvajit

Apr 3 '06 #1
3 1612
VK

jeet_sen wrote:
Hi,
I developed a web page using javascript on Linux machine and tested
to work fine on Mozilla. Now I tried to view the page in IE which is
returning javascript error.
How can I successfully make my compatible with IE too.
Please refer to some links or readings where such related problem is
dealt with.
Is there any checklist for making web pages compatible for IE?


JavaScript 1.5 (1.6 on Firefox 1.5) is much closer to the core
ECMAScript specs then JScript 5.6 (IE). Usially you have more troubles
to make a JScript program to work on Firefox. But overall the core
language features (object, methods, operators, statements) are pretty
much identical. The problem is in differences in DOM interface and the
ways to communicate with it.

I presume you wrote an ajaxoid using new XMLHttpRequest( ) - and so far
in IE you have to use the original IXMLHTTPRequest over
ActiveXObject() . There is also a number of implementation differences
between XMLHttpRequest and IXMLHTTPRequest . If this is the case then
put your ajaxoid part here for review.

Apr 3 '06 #2
Hi VK,
I have no idea about ajax . If this he clue then I will start reading
about it.
But it will very helpful for you if can refer to some code snippet
where IE/Mozilla compatibility problem has been dealt with using the
technique you mentioned

Regards,
Suvajit

Apr 3 '06 #3
"VK" <sc**********@y ahoo.com> writes:
JavaScript 1.5 (1.6 on Firefox 1.5) is much closer to the core
ECMAScript specs then JScript 5.6 (IE).
Only marginally closer, if at all. Both implementations are almost
flawless implementations of ECMAScript. IE has a little thing with
array literals and perhaps a bug in regexp lookahead, but that's not
where the dragon lies buried.

The problem is, as you state later, not the core language, but the
runtime environment it runs in, including the document object model
(DOM). There, IE has signficant holes in its standard compliance, so
pages written to standards need fallbacks to work on IE.

Obviously non-IE browsers also have their proprietary extensions,
and if you use those, you need to do something to have the same
thing work in IE (or any other non-IE browser).
Usially you have more troubles to make a JScript program to work on
Firefox.
IE has many extensions and features that are harder to convert to
other browsers. If you use those, the job gets harder. If you start
out trying to use web standards, then you are less likely to hit
an IE-only feature, and conversion is easier.
But overall the core language features (object, methods,
operators, statements) are pretty much identical. The problem is in
differences in DOM interface and the ways to communicate with it.
Indeed. That's not ECMAScript, but DOM (and de-facto standardized
features, aka. DOM 0).
I presume you wrote an ajaxoid using new XMLHttpRequest( )


I see no reference to this in the OP's post at all.

Anyway, the one link that will tell you what the IE DOM does do:
<URL:http://msdn.microsoft. com/workshop/author/dhtml/reference/dhtml_reference _entry.asp>
and their JScript reference:
<URL:http://msdn.microsoft. com/library/en-us/script56/html/e4fb1cc7-15e0-43e9-bf2e-469fe7b2050c.as p>
A few pages on going from IE to Mozilla (which should not be directly
reversed, as some of the IE stuff they talk about can be done better
in IE as well):
<URL:http://www-128.ibm.com/developerworks/web/library/wa-ie2mozgd/>
(thought there was one by the Mozilla people too, but I can't find it)
and one about writing to standards that still work in IE:
<URL:http://www.mozilla.org/docs/web-developer/upgrade_2.html>

That said, the usual problem people have is converting IE pages to
work in standard compliant browsers. If you have a specific problem,
try posting it, with a link, and we'll probably be able to find
a solution (or tell you that there isn't one).

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
'Faith without judgement merely degrades the spirit divine.'
Apr 3 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
3042
by: Paul | last post by:
I thought this is more of an IE issue but i've had no joy on that group perhaps somebody here will have a clue. If i click a link to a web page embedded in Excel (97 OR 2000) i get the standard error page displayed by IE (you know, the 'cannot find server or dns error' page). Turning off 'show friendly http error messages' alleviates this....
4
5332
by: erik | last post by:
Is it posssible to inherit the previous pages (parent pages) background image? Is there a script out there I could look at? Thanks
8
4826
by: Mr. x | last post by:
Hello, I wrote a javascript, and when I open the html by the browser, I get the message : Error in page. It is about tousand lines, and I cannot figure out in a simple way, where is the line, that cause the error ? I see on other computers, a message like " ... do you wish to debug".
13
3366
by: Martin | last post by:
I would like to serve out a web page (intranet only - no internet) that has the ability to open a client-side socket that connects to a server-side socket on another computer. This connection is used to send data to be displayed using DHTML on the web page (as opposed to refreshing the entire page). I have this working where the client is...
5
2002
by: Yvon Kephren | last post by:
Hey, I have a javascript problem and I can think of two solutions. First of all the problem. I have a script that dynamically loads pages in iframes on the fly. Sometimes it is possible that these pages do not exist. So Mozilla alerts me that the page cannot be found. My question is can I omit the Alert or throw an exception some how or test...
8
2925
by: Nicolás Lichtmaier | last post by:
Hi, some time ago I've written an article about this issue. It explain some differences in Explorer's and Mozilla's JavaScript/DOM. It has recently changed its URL, This is the new one: http://www.reloco.com.ar/mozilla/compat.html Bye! PS: I hope it's useful to someone. I would appreciate any comments and suggestions!
3
1243
by: Abby Lee | last post by:
Page works fine...however I get a little message on the bottom left of the page (on the bar) that says there is an error with the page. How do I tell the page to tell me what's wrong?
5
2805
by: =?Utf-8?B?V2FubmFiZQ==?= | last post by:
We have a page that is loading very slow. There is not a lot of data, not a lot of users are connected at the same time and the page does not produce an error, so I am not sure where to start to look for why it is slowing down. I thought about the DB first and added NOLOCK to a couple of stored procedures that were being run, but with no...
5
4533
by: YaoBao | last post by:
Is any ColdFusion script I can put on my webpage that will create a search bar so people can type keywords to match it on the current page in my website? It will be exactly like the finder search bar that comes with your browser window, IE; click edit, then find on this page, which brings up the search box. I know that JavaScript can do this. I...
2
2022
by: Gary Hasler | last post by:
I am having various problems with web pages on our site not displaying the result of form submissions properly for users with Mozilla type browsers (eg Firefox, Netscape). After investigation I have determined it is because Mozilla often (but not always) repeats the request for a web page. Therefore, when a page is showing the result of a...
0
7803
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7720
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8044
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8230
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7810
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8096
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5618
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3739
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1337
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.