Jump to content

AJAX Not Working in Safari, Chrome


xProteuSx

Recommended Posts

I've just come to the realization that AJAX does not work in Safari and Chrome.  Is there any way to make it work in those two browsers?  Cheers.

 

Yes, it works fine.  The specific code you're using may not work in those browsers, but the functions provided by libraries like jquery work across browsers.

Link to comment
Share on other sites

Gonna have to look into JQuery when I get the chance.  Never touched the stuff ... yet.  ;)

 

It's very easy to use, however if you don't know the basics of javascript it may be a bit confusing.  Hopefully you do.  The design goal of jquery is cross browser compatibility, so problems like the one you describe are the exact reason jquery was developed.  It has an excellent manual, however. 

 

See:

 

http://api.jquery.com/jQuery.get/

http://api.jquery.com/jQuery.post/

 

Which are both shorthand wrappers for variation on:

 

http://api.jquery.com/jQuery.ajax/

 

 

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.