473,406 Members | 2,710 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,406 software developers and data experts.

Problems with Firefox displaying Javascript

Hello,

I've the following site which runs perfectly on Internet Explorer 7.0, but fails to run the javascript part in Firefox.

Please visit:http://www.students.cs.uu.nl/~jtkman/ci2/index.php/ineo to see it working in IE 7.0.

Can someone please point out my mistake(s) that I've made? Because even when I use firefox it does NOT display any error message or such.

Please help, thank you for your help.

PS: And yes firefox javascript is enabled, and yes I've checked my firefox settings.
Apr 16 '09 #1
4 1760
Dormilich
8,658 Expert Mod 8TB
what do you expect it to be doing what it does not?

the only javascript I've seen was writing the select, which worked.
Apr 16 '09 #2
gits
5,390 Expert Mod 4TB
in the page there is no node with the id 'regform' so firefox fails to retrieve the node when trying to add the event in 'register.js' line 147 ... you have a form with:

Expand|Select|Wrap|Line Numbers
  1. form name="regForm" id="regForm"
so as you see the cases doesn't match ... in case IE does it, it is simply wrong and you shouldn't rely on testing in IE and wonder that it doesn't work in other browsers ... this just leads to bad coding habit and many adaptions to make the code working in standards compliant browsers ...

kind regards
Apr 16 '09 #3
This is such an elementary mistake of me. I'm so ashamed.

Thank you for pointing it out, I really searched hours and hours for this stupid mistake.

@Dormlich

@Dormilich
You are right about that, but there was a script included, as you could see <script type="text/javascript" src="http://the link"></script>

But it did work in Internet Explorer 7.0...
Apr 16 '09 #4
drhowarddrfine
7,435 Expert 4TB
@temptsun
As gits said, never ever rely on anything IE does. It's 11 years behind modern standards and practices. Incompetent at best. Always, always use a modern browser such as....anything but IE. Once you know it's working, then check in IE to see if/when it screws things up, but at least you know you wrote proper code.
Apr 17 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Jesper Stocholm | last post by:
I have som XML that link to an XSL-file to enable on-the-fly HTML-generation by e.g. IE or FireFox. The transformation actually works like a charm, but I have problems with changing line breaks in...
3
by: Sam | last post by:
Hi all, Could someone take a look at www.worklesshard.com/watermelon/ecard.html and tell me why it works in Firefox, but not in IE? I've been scratching my head for hours. Many, many thanks...
55
by: drhowarddrfine | last post by:
I'm working on a web site that could use some control using js but am concerned about what problems I may have with potential users having their js turned off. Has anyone had any serious problems...
12
by: Brad | last post by:
Does anyone have any other solutions to the Firefox rendering problems with ASP.NET? I've tried the <browsercaps> web.config trick. It didn't work. Am I overlooking something else? Thanks!
9
by: Simon Wigzell | last post by:
I have a little asp progress bar window that I open up with javascript, sized and located, all the extras turned off. It works by refreshing itself every second and displaying how much a file...
4
by: evgenyg | last post by:
Hello ! We have the following situation - when Ajax request is sent what's being returned by the server is usually an XML (which is used for DOM updates) but sometimes it's HTML which is a whole...
29
by: töff 93722 | last post by:
Long story short, I built a website based primarily on JavaScript: http://www.sjcga.com The site renders *great* in WinIE6/7 and in Mac/Win Opera9. It has problems in Mac/Win Firefox2, and...
33
by: buss123 | last post by:
Hi all, combo box script code was working in IE perfectly with all modes but OnChange event was not working in FireFox(editable mode, if we select valuese that combo box values r...
1
by: littlealex | last post by:
IE6 not displaying text correctly - IE 7 & Firefox 3 are fine! Need some help with this as fairly new to CSS! In IE6 the text for the following page doesn't display properly - rather than being...
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: 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
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
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...
0
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...
0
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...
0
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...

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.