Jump to content

[SOLVED] AJAX works in all browsers but firefox...


Recommended Posts

Ok, this is a weird problem. For me, my AJAX script works in ALL browsers. But for my client, it works in all browsers EXCEPT for firefox. And he's had ~5 other people test it in FF and it still doesn't work.

 

I have no clue why it only works on my computer.

 

But I'm linking you guys to it to hopefully get an answer. Let me know your thoughts.

 

http://atlantasyoungfaces.com/children.html

 

And the .JS file:

http://atlantasyoungfaces.com/ajax/init.js

 

Big big thanks

Link to comment
Share on other sites

It works for me in firefox as well.

 

Check to make sure your client doesn't have the 'noscript' plug-in installed in firefox. If (s)he does, javascript will have to be enabled before it will work.

 

If such is the case, and you have spent a fair bit of time on this, I would bill the client for the time you have spent trying to solve this problem.

Link to comment
Share on other sites

If such is the case, and you have spent a fair bit of time on this, I would bill the client for the time you have spent trying to solve this problem.

 

Oh yes, I will be billing if that was the case ;) I'll ask him about this.

 

Anyone else?

 

[edit] I've added a <noscript> tag in the page. So this will tell if it's his browser not allowing javascript. Thanks for the tip haku

Link to comment
Share on other sites

FF 2.0.0.14, WinXP Pro SP2.

I actually having a hard time getting the errors, since the search keeps crashing my Firefox completely.

I was almost sure I saw 2 or 3 errors one time before it crashed, now all I get is this:

Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: http://atlantasyoungfaces.com/ajax/init.js :: submitSearch :: line 77"  data: no]

 

That doesn't tell much other than it failed on the send.

I've had some wierd problems with POSTing before, I try to keep it to GET or I use a popunder window, POST a form to it then close it.

(But I can get away with telling everybody to allow popups form that server on my Intranet site)

Link to comment
Share on other sites

FF 2.0.0.14, WinXP Pro SP2.

I actually having a hard time getting the errors, since the search keeps crashing my Firefox completely.

I was almost sure I saw 2 or 3 errors one time before it crashed, now all I get is this:

Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: http://atlantasyoungfaces.com/ajax/init.js :: submitSearch :: line 77"  data: no]

 

That doesn't tell much other than it failed on the send.

I've had some wierd problems with POSTing before, I try to keep it to GET or I use a popunder window, POST a form to it then close it.

(But I can get away with telling everybody to allow popups form that server on my Intranet site)

 

Thanks :)

 

I'm going to change the form to a GET method. I'll post back once I do so you can try it again.

 

Thanks again

Wes

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.