Home > Not Working > Ajax Not Working In Safari

Ajax Not Working In Safari

Contents

Browsers tested: Chrome 11.0.696.0, Safari: 5.0.3 Jquery:1.5.0, 1.5.1, 1.4.3 If you need more information I will try to give you as much help as I can... In this post there is a suggestion to add a beforeSend to your ajax-request. Please click the link in the confirmation email to activate your subscription. Please provide a reduced jsFiddle test case to help us assess your ticket! http://da4design.com/not-working/ajax-post-not-working-in-safari.php

more hot questions question feed default about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation The thing is that it seems that safari doesnt bring css, so I thought that If I left it there it would work, and it does but the javascript in the This should trigger Safari to recognize that the request is at least active and responding, and usually won't force it to time out. comment:3 Changed 6 years ago by [email protected]… shame on me... http://stackoverflow.com/questions/18778814/jquery-ajax-call-often-not-working-on-safari-6

Not Working Ajax In Safari But Fine In Chrome And Firefox

ajax jquery safari share|improve this question edited Jun 24 '15 at 21:16 Dan Beaulieu 7,83874877 asked Sep 13 '13 at 5:17 Cataclysm 89042563 My problem does not occur in Join them; it only takes a minute: Sign up jQuery .ajax() does not work in Safari when it takes seconds to get returned data up vote 3 down vote favorite 1 KOR Windows Forum Register as or Find a freelancer Offshore programming Reply With Quote 11-28-2009,02:04 PM #7 subharb View Profile View Forum Posts Registered User Join Date Nov 2009 Posts 25 The animation triggered, telling me that $.ajax reported a success.

Here goes.. Did I cheat? No errors are thrown and no request seems to be made (according to the built in developer tools). Ajax Post Request Not Working In Safari After a lot of research and testing, we found out that Safari ignores timeout settings for Synchronous AJAX calls, limiting to 10 seconds.

Last edited by Kor; 11-28-2009 at 02:59 PM. Ajax Post Not Working In Safari comment:2 Changed 6 years ago by [email protected]… I seem to have the same problem, however it's kind of hard to attach a test case, since I can not really pin down Privacy Statement| Terms of Use| Contact Us| Advertise With Us| CMS by Umbraco| Hosted on Microsoft Azure Feedback on ASP.NET| File Bugs| Support Lifecycle This page may be out of date. read this post here The code I'm using works well in other browsers (FF/IE/Chrome) but NOT in Safari.

Whilst there're other ajax() requests (not need so long as this page to return data) and they do work (with status of 200). Jquery Ajax Datatype I used a solution that I happened to already have on my laptop on an exam. Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 11-27-2009,01:11 PM #1 subharb View Profile View Home Categories FAQ/Guidelines Terms of Service Privacy Policy Powered by Discourse, best viewed with JavaScript enabled Podcast Articles Premium Blog Sign in Join ASP.NET Home Get Started Learn Hosting Downloads Community

Ajax Post Not Working In Safari

Lastly, Is there an attribute or function called "html" in Jquery? (I'm not that familiar with jquery so I don't know and am asking out of curiousity). $("#content_8").html(html); Reply With Quote Also, isn't it a bit weird that Safari seems to deal with posting the information differently than Firefox/Chrome/IE? Not Working Ajax In Safari But Fine In Chrome And Firefox I really want to know why ? –Cataclysm Sep 13 '13 at 5:40 don't be defined it as Duplicated if you really don't know what I mean. –Cataclysm Sep Safari Ajax Timeout What happened?

Can you see network activity (is the URL actually called)? –Jasper de Vries Aug 31 '12 at 7:20 add a comment| Your Answer draft saved draft discarded Sign up or his comment is here Understanding which string breaks when one pulls on a hanging block from below "president-elect" grammatically correct? Reply With Quote 11-27-2009,03:14 PM #4 Kor View Profile View Forum Posts Visit Homepage Red Devil Moderator Join Date Dec 2003 Location Bucharest, ROMANIA Posts 15,428 Originally Posted by subharb it Thanks Reply With Quote Quick Navigation JavaScript Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums Client-Side Development HTML XML CSS Graphics Design: Responsive Design / Safari Ajax Error

The strangest thing is however it's working for me if I use the exact same scripts, etc. I took this basic code from a tutorial that had the "return true" at the end... Have you tried seeing the result of an AJAX call in Safari? this contact form firefox should probably block these types of requests as well).

Should I have doubts if the organizers of a workshop ask me to sign a behavior agreement upfront? Jquery Ajax Post Success! The other option is to just change the AJAX call to be asynchronous.

How does Berlin Transport Validation Stamp mark current date and/or expiry date?

If you want to make sure it isn't actually a framework problem try narrowing down the code to its smallest reproducible chunk. If you see what you expect, then the insertion into the DOM is what's broken. CIS, MPM, CSM Join Date Jan 2009 Posts 3,346 Are you trying to embed javascript with ajax using innerHTML? It works fine in Firefox, camino, but in chrome and safari the script tag is injected in the head and nothing happens.

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed It is hard to give you an answer without the whole picture. However I also found the -1001 error shows very quickly, that might means the ExportData.php was not executed. navigate here Possible repercussions from assault between coworkers outside the office What episode of Star Trek is this creature on?

share|improve this answer answered Jul 5 '10 at 7:28 Pierre Buyle 4,06921933 FYI, event.preventDefault(); are just almost the same with return false... just figured out that I had adblock enabled which blocked the requests once it was running on the server :(( comment:4 Changed 6 years ago by jaubourg Resolution set to invalid like I said, I'm no javascript wiz... It worked on my localhost but not on the server.