Home > Article > Web Front-end > A brief analysis of the problems encountered in different browsers when calling the ajax method in jQuery_jquery
Today, when I use Firefox to debug a method that uses the encapsulation in jQuery to interact with the background, Firefox does not pop up the window.
But it passed successfully with Google Chrome before. Later, I discovered that each browser handles browser default values differently. Summary:
If json is returned, this parameter should be taken, and the same applies if text is returned.
$.post(url,param,function(data),param);//The last parameter param corresponds to the type of returned information and should generally be brought to avoid
caused by different default settings of different browsers question.