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