Bizarro, that's all I can say. Aren't FF2.0.0.8 and NN9 both Mozilla 2 based browsers? So why would the exact same code work in one and not the other? To add insult to injury, it works just fine in IE7 too.
In particular, I'm grabbing a ".txt" file, which you'll see in my code uses innerHTML to display, whereas ".xml" and ".js" files do not. Perhaps not a good way to do it...does NN9 have an issue with innerHTML?
So here's my code for all you code-junkies to peruse: 7 1758
In particular, I'm grabbing a ".txt" file, which you'll see in my code uses innerHTML to display, whereas ".xml" and ".js" files do not. Perhaps not a good way to do it...does NN9 have an issue with innerHTML?
So do the XML and JS parts work?
So do the XML and JS parts work?
Apparently, no. It seems that XMLHttpRequest is not working at all in NN9 for me. Works perfectly in IE7 and FF2.0.0.8 though. Weird. I know my onclick="" is working because I tested it with alert("Test Message"); and it came right up. Javascript is definitely working as well because my login script is functioning.
Any ideas? Isn't NN9 native XHR (i.e. xmlhttp = new XMLHttpRequest();)?
Aren't FF2.0.0.8 and NN9 both Mozilla 2 based browsers?
NN and FF are based on gecko, the rendering engine. Mozilla is another browser based on gecko.
Okay, gecko then. If they are both gecko-based, then wtf is the problem with NN? =D
Apparently, no. It seems that XMLHttpRequest is not working at all in NN9 for me. Works perfectly in IE7 and FF2.0.0.8 though. Weird. I know my onclick="" is working because I tested it with alert("Test Message"); and it came right up. Javascript is definitely working as well because my login script is functioning.
Any ideas? Isn't NN9 native XHR (i.e. xmlhttp = new XMLHttpRequest();)?
The XMLHttpRequest object works fine in NN9 for me.
Try some test links, e.g. this one.
acoder,
And here you are again helping me out! Yes, I tested that in NN and it worked as it always has (that's one the of the sites that I've been learning how to code from, including XHR).
So something is goofy in my code. I've noticed that sometimes my code doesn't work for no reason I can discern, and if I retype it exactly as I have it coded, the code then works. Go figure. So I am going to try that today.
I code mostly in notepad. Is there anything about notepad encoding that could cause this type of hiccup? I can always code in WordPad instead, and I have MS Visual Web Developer 2008 Express Edition, which would probably help me catch errors more often. Sigh. I guess I just need to get in the habit of using it. Old habits (old BASIC & COBOL coder here) die hard, I suppose.
Thanks yet again!
I code mostly in notepad. Is there anything about notepad encoding that could cause this type of hiccup?
I don't recall if Notepad can save in utf8? Is it possible the BOM is involved?
I can always code in WordPad instead,
Ack! Don't do that!
I have MS Visual Web Developer 2008 Express Edition, which would probably help me catch errors more often. Sigh. I guess I just need to get in the habit of using it.
Sometimes more time is spend trying to figure out the tools than coding. Look into Notepad++. I liked it much better but I don't use Windows anymore.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Dominic Myers |
last post by:
Hi there, I'm playing with XMLHttpRequest and
followed the article by Bill Bercik at
http://www.webpasties.com/xmlHttpRequest/... I'm
having problems getting the last two steps to work
though....
|
by: dx27s |
last post by:
Hi all,
I'm working with the XMLHttpRequest object. I receive the following
error message: "Permission denied to call method XMLHttpRequest.open"
This occurs in Firefox only. IE works fine.
...
|
by: chris.schwalm |
last post by:
This is part II of this <a...
|
by: VK |
last post by:
The Web API Working Group has released the First Public Working Draft
of The XMLHttpRequest Object.
<http://www.w3.org/TR/2006/WD-XMLHttpRequest-20060405/>
P.S. Finally some good movement...
|
by: 4levels |
last post by:
Dear Folks,
I stumbled upon a strange behaviour of the XMLHttpRequest.. Maybe I'm
just not well informed enough about its possibilities, so could someone
please confirm my question?
When I...
|
by: TLaufenberg |
last post by:
I'm new to Javascript programming and I've run into a bit of a snag
with making an XMLHttpRequest in the Safari browser. Actually, the
request doesn't work in Firefox either but only when I use a...
|
by: eulaersivan |
last post by:
I would like to use the xmlhttprequest-object to send an http request
to my server. The http request is used to switch the light on through
home automation.
However it's not working, and I can't...
|
by: geevaa |
last post by:
http://www.phpbuilder.com/columns/kassemi20050606.php3
XMLHttpRequest and AJAX for PHP programmers
James Kassemi
Introduction:
Although the concept isn't entirely new, XMLHttpRequest...
|
by: RMWChaos |
last post by:
Currently testing in: WinVista / IE7
I have been working on getting xmlhttprequest going for weeks now. I have finally gotten a semi-working script going. Pulling up text or xml files works great...
|
by: Patrick Nolan |
last post by:
I'm working on cross-platform portability of some javascript.
My Macintosh testing platform is rather old. It has Safari
1.3.2 and Internet Explorer 5.2. I got Safari working, but
now IE is...
|
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,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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...
|
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
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
| |