By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,636 Members | 1,190 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,636 IT Pros & Developers. It's quick & easy.

debugging IE7

P: n/a
I have a script which is working fine in Firefox and until recently
worked in IE7 too. I have been working on the script and decided to
test it on my wife's XP laptop and, lo and behold, it no longer works
with IE7. With Firefox debugging is simple using Firebug but what does
one use in IE7? I get a warning in the bottom left which say "Error on
the page" (actually "Fehler auf der Seite" as my wife's laptop has
German Windows installed but I will try and translate the warnings as
I don't know exactly what an English version would say.). When I
double click on this warning a popup appears with the following,
insufficient, information:
Row:163, Zeichen:5, Error: "The object doesn't support this method",
Code:0, URL:http://members.chello.at/stephen.joung/testsite/
indexMW_Distance20.html

But the HTML file doesn't even have 163 rows and the js file has no
problems around row 163 that I can see.

For any of you who have experience of this I link to the html and js
pages in the hope that you can help find the problem.

http://members.chello.at/stephen.jou...istance20.html
http://members.chello.at/stephen.jou...linkeng20.html

Regards,

Steve
Jul 28 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Jul 28, 4:51 am, Steve <stephen.jo...@googlemail.comwrote:
>
For any of you who have experience of this I link to the html and js
pages in the hope that you can help find the problem.

http://members.chello.at/stephen.jou...linkeng20.html
Sorry, the js file is at

http://members.chello.at/stephen.jou...e/linkeng20.js

Jul 28 '08 #2

P: n/a
Steve wrote:
Row:163, Zeichen:5, Error: "The object doesn't support this method",
Code:0, URL:http://members.chello.at/stephen.joung/testsite/
indexMW_Distance20.html
Correct

function load() {
linkA= readCookie('linka');
linkB= readCookie('linkb');

to

function load() {
var linkA = readCookie('linka');
var linkB = readCookie('linkb');

that should help. Currently you are trying to assign to linkA/linkB
which are HTML element objects in IE's DOM.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 28 '08 #3

P: n/a
On Jul 28, 1:22 pm, Martin Honnen <mahotr...@yahoo.dewrote:
Correct

function load() {
linkA= readCookie('linka');
linkB= readCookie('linkb');

to

function load() {
var linkA = readCookie('linka');
var linkB = readCookie('linkb');

that should help. Currently you are trying to assign to linkA/linkB
which are HTML element objects in IE's DOM.
Many thanks Martin, that was indeed the problem.

Best regards, Steve.
Jul 28 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.