---
title: "jquery IE刷新慢问题global:false"
author: "frenchleaf"
date: "2010-10-28T17:10:24Z"
tags: []
categories: ["Web前端"]
slug: "jquery-ie-global-false"
draft: false
lastmod: "2010-10-28T17:12:12Z"
id: 796806
url: "https://frenchleaf.iteye.com/blog/796806"
---

jquery1.4.2的4932行左右
ajaxSettings: {
	url: location.href,
	global: true,
	type: "GET",
	contentType: "application/x-www-form-urlencoded",
	processData: true,
	async: true,
global这个东西超级重要，尤其是在ie的情况下，
当一个页面用了8个$.ajax调用，火狐正常会异步的一个一个显示div，而ie就崩溃了，基本上beforesend里面如果不写alert就会卡在那里，直到最后一个div刷出来，开始以为是async的问题，上网查了很多资料，西哀思敌恩上还有笨蛋说无解，
实验了一下global: false，
ie也可以异步刷新喽，yeh~~~