When developing the project, the front end encountered two relatively hidden problems.
Problem 1. Specially for IE7 browser, the IE URL parameter is too long, causing HTTP Status 122 error
Reason: There is no problem under IE6.8, but it is not compatible with IE7. The get parameter is too long. , Google said "Don't use the GET method in Ajax Apps, if you can void it, because IE7 craps out with more than 2032 characters in a get string"
Solution:
Put the original The project uses the jsonp get data method and changes it to the regular post data method
Problem 2. This scope problem
Reason: If this is not inside the object, it defaults to the large object window, as shown below. Putting it inside an ajax refers to the current domain name ajax object
Solution: