A brief analysis of the problems encountered in different browsers when calling ajax methods in jQuery

  • 2020-03-30 03:19:05
  • OfStack

Today firefox debugged a way to interact with the background using a wrapper in jquery, and firefox never pops up.
And before with Google browser through. It then turns out that each browser handles the browser defaults differently. Conclusion:
If you're returning json, you should take this argument with you, as well as text.
$.post (url, param, function (data), param); // the last parameter, param, corresponds to the type of information returned
Problems caused by different browser default Settings.

Related articles: