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.

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/

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.