473,396 Members | 1,843 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 1597
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**********@yahoo.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.asp>
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/rasterTriangleDOM.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
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...
4
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
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...
13
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...
5
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...
8
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: ...
3
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
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...
5
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...
2
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.