$.ajaxSettings.async = false;
$.getJSON(dataroot, function (data) {
判断url存在,不止ie
xmlhttp = window.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject("Microsoft.XMLHTTP")