473,378 Members | 1,364 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,378 software developers and data experts.

some errors thrown on IE, not FF....

a lot of sites I visit (for example cnn.com) I get JavaScript errors
ONLY in IE, not in FF, I suspect this has to do w/pop-up blockers, can't
developers at these sites write code to handle pop-up blockers? (at
CNN JS error appears every few seconds..0

at this site,
http://java.sun.com/developer/EJTech.../tt0114.html#1 I get a
"syntax error" JavaScript error, ONLY in IE, not in FF.. how come a
syntax error shows up only on IE and not IE?

just curious..

thank you..
Apr 8 '07 #1
2 1461
maya said the following on 4/8/2007 4:12 PM:
a lot of sites I visit (for example cnn.com) I get JavaScript errors
ONLY in IE, not in FF, I suspect this has to do w/pop-up blockers, can't
developers at these sites write code to handle pop-up blockers? (at
CNN JS error appears every few seconds..0
I get no errors on cnn's site.
at this site,
http://java.sun.com/developer/EJTech.../tt0114.html#1 I get a
"syntax error" JavaScript error, ONLY in IE, not in FF.. how come a
syntax error shows up only on IE and not IE?
Because the code is acceptable in FF and not in IE. It is usually the
other way around.

A better place/person to ask would be the wannabe web-masters of the site.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Apr 8 '07 #2
Randy Webb wrote :
maya said the following on 4/8/2007 4:12 PM:
>at this site,
http://java.sun.com/developer/EJTech.../tt0114.html#1 I get a
"syntax error" JavaScript error, ONLY in IE,

On the load event, once the page has been loaded, yes, only in IE.

not in FF.. how come a
>syntax error shows up only on IE and not IE?

Because the code is acceptable in FF and not in IE. It is usually the
other way around.
Error : syntax error
File : http://java.sun.com/developer/EJTech.../tt0114.html#1
Line : 59
Source code:
if( this.value==this.defaultValue ) this.value=;

Even Firefox will report an error if you focus the input search

<input class="searchfield" name="qt" class="medium" size="7"
onFocus="if( this.value==this.defaultValue ) this.value=;" value="Search">

This was the reported error by IE. So both browsers report the error and
the same one.

Gérard
--
Using Web Standards in your Web Pages (Updated Dec. 2006)
http://developer.mozilla.org/en/docs...your_Web_Pages
Apr 9 '07 #3

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

Similar topics

0
by: Ewan B | last post by:
Hi, I'm using Xerces to parse XML files using SAX2, and am wondering if there is any information as to what exceptions are being thrown when certain validation errors occur. Taking a simple...
7
by: Silver | last post by:
First of all...merry christmas everyone! Now, I have to write a program. Among other things, I need to overload the '*' operator, so that it returns a pointer-to-ponter of type int, which is...
1
by: Ersin Gençtürk | last post by:
We couldn't find why these errors happen.They doesn't appear everytime.And they appear different pages at different times.Is there somebody know why these happenes ? First user gets this error :...
0
by: Ravi Chand via .NET 247 | last post by:
(Type your message here) Hi All, One of our ASP.Net application was stress tested recently andunfortunately it is throwing up intermittent errors. Theapplication has been setup in a load...
2
by: darrel | last post by:
I have a question below about an error I am getting: Exception has been thrown by the target of an invocation. Is there anyway to get asp.net to give me more details than the above? My catch...
2
by: George1776 | last post by:
All, I've recently upgraded our production ASP.NET/C# application from framework 1.1 to 2.0. Since then I've been plagued by out-of-memory errors and problems with the cache object (which may...
33
by: bonk | last post by:
I have an application that needs to perform some background work, i.e. Logging, wich must not block the main thread. How would I basically design such a scenario? It is obvious that I should do...
7
by: iKiLL | last post by:
Hi all I am still pretty new to .Net and C#. I have come from a VB6 Background.
1
by: buu | last post by:
how could I set up mz vs 2005 to halt on some errors even if there is an exception handler? (in debug mode)
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.