Home >Web Front-end >JS Tutorial >Quick solution to ajax failure in compatibility mode_jquery
Use jQuery and ajax to implement the partial refresh function. In Firefox and 360 Rapid Browser high-speed mode, ie8 and 9 can run normally, but switching to compatibility mode will not work. There are two solutions to turn off browser compatibility. View, the second is to introduce the json2.js file
The first method is adopted here, and a perfect compatibility solution is used, adding
to the head<meta http-equiv="X-UA-Compatible" content="IE=9;IE=8;IE =7;IE=EDGE">
That’s it!
The above quick solution to ajax failure in compatibility mode is all the content shared by the editor. I hope it can give you a reference, and I hope you will support Script Home.