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

Firefox problem

I have a prototype ajax app which works fine under IE but doesn't write
out the returned data to the browser under Firefox. Are there any
pitfalls bugs I should be aware of ? The prototype is here :-
http://www.boxrec.com/cline.php

Many thanks, JohnShep

Nov 10 '05 #1
4 1721
bo****@gmail.com wrote:
I have a prototype ajax app which works fine under IE but doesn't write
out the returned data to the browser under Firefox. Are there any
pitfalls bugs I should be aware of ? The prototype is here :-
http://www.boxrec.com/cline.php


That is too much code to be QA'd from scratch for free.
Anything in the JavaScript Console that might help?
PointedEars
Nov 11 '05 #2
Hi Pointy, thanks for replying, no nothing in the console the page
loads without throwing errors :-( I put alerts in to monitor the data
flow and all seems correct. The script retrives the xml and loops
through it extracting the correct attributes ie

alert(orders[i].getAttribute(columnFields[c]));

shows that the equired data has been retrived, but when it is output

oCell.innerText = orders[i].getAttribute(columnFields[c]);

only the empty cell is created. Any help much appreciated, I'm new to
javascript and I have been banging my head against a brick wall for
three days now.

ps I need it to work as I had a big campaign to move all my editors and
visitors to Firefox, I would hate to have to push everyone back to IE.

Nov 11 '05 #3
BoxRec a écrit :
Hi Pointy, thanks for replying, no nothing in the console the page
loads without throwing errors :-( I put alerts in to monitor the data
flow and all seems correct. The script retrives the xml and loops
through it extracting the correct attributes ie

alert(orders[i].getAttribute(columnFields[c]));

shows that the equired data has been retrived, but when it is output

oCell.innerText = orders[i].getAttribute(columnFields[c]);

only the empty cell is created. Any help much appreciated, I'm new to
javascript and I have been banging my head against a brick wall for
three days now.

ps I need it to work as I had a big campaign to move all my editors and
visitors to Firefox, I would hate to have to push everyone back to IE.


innerText is a proprietary MSIE extension. textContent, on the other
hand, is W3C DOM 3 compliant:

http://www.w3.org/TR/2004/REC-DOM-Le...e3-textContent

textContent is supported in Firefox 1.x, Mozilla 1.5+, Seamonkey 1.x,
Safari 2.x, Opera 9.x and most likely a few other browsers.

Gérard
--
remove blah to email me
Nov 23 '05 #4
Salut Gerard,
merci beaucoup :-)

John

Nov 23 '05 #5

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

Similar topics

6
by: Geoff | last post by:
When trying to focus a field in Firefox, I get the following error: Error: " nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame ::...
12
by: Howard Kaikow | last post by:
Yesterday, I decided to try Firefox. I've encountered a behavior that is either a bug in Firefox or a bug in my Javascript code. I'll try to explain the problem, hoping that this newsgroup can...
3
by: TJS | last post by:
I am finding that the serverside requiredvalidator doesn't fire in the firefox browser, and user request proceeds through to my updateProfile method. Validation is working correctly in the IE...
6
by: Mark Olbert | last post by:
The doPostBack javascript functioning is not submitting the page when called by linkbuttons (or an autopostback checkbox, for that matter). I'm aware of a problem with Netscape browsers and the...
4
by: dsimmons | last post by:
On my website http://seasidequilters.blogspot.com/ I'm having a problem that someone thinks might be associated with Firefox browsers. I'm hoping to find someone in this forum that might be...
4
by: petermichaux | last post by:
Hi, I'm hoping for a reason I'm wrong or an alternate solution... I'd like to be able to dynamically include some javascript files. This is like scriptaculous.js library but their solution is...
13
by: Giggle Girl | last post by:
Hi there, I am having a problem with the behavior of Firefox, where lefthand column content is not resized properly after it is "collapsed" and then "re-expanded". An online demo is available...
11
by: minnesotti | last post by:
Hi there, I subscribed to a photographic pictures-hosting website which is heavy on JavaScript. My preferred latest browser Mozilla Firefox does not work with it -- no pictures are displayed and...
7
by: Carlos Mendonça | last post by:
Has anyone managed to get ClickOnce to work with Firefox? It seems to me that it still has the same issues VS 2K5 had. I appreciate any comments or tips.
3
by: SAL | last post by:
Hello, I did google this issue and found some stuff related to BrowserCaps section of either web.config or machine.config but it didn't work. It seems that most pages in my webapp are okay but a...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
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: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.