Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- Do i need $.ajax async:false if using success: callback function?


nelsonm - 9:01 pm on Jun 6, 2012 (gmt 0)


Hi all,

I was looking over my code and noticed that i had jquery .ajax methods that had the async:false setting in a few javascripts.

So i looked it up on the jQuery site and it said that As of jQuery 1.8, the use of async: false is deprecated. Why would it be depreciated?

I'm not sure i even need async:false, doesn't using a callback function as the success setting value negate the use of async:false?

thanks,


Thread source:: http://www.webmasterworld.com/javascript/4462198.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com