前言: var name="小明"; window.location.href="http://XXXXXXX?name="+encodeURI(name);//中文转code码让ie识别 ie就可以识别了