1: 设置一下安全界别
2:将站点加到可信任站点中

解决方案 »

  1.   

    是ajax联动把,给一段ie7中可以运行的代码你看看
            function LoadStates(countries)
            {
              var countryId = document.getElementById("ddlArea").options[document.getElementById("ddlArea").selectedIndex].value;
              UniShare.XiangSoo.Web.Portal.AjaxMethod.GetStates(countryId, LoadStates_CallBack);
            }
            
            function LoadStates_CallBack(response)
            {
              //alert(response.value.Rows.length);  
              if (response.error != null)
              {    
                alert(response.error); 
                return;
              }  
              
              
              var states = response.value.Tables[0];  
              
              if (states == null || typeof(states) != "object")
              {
                return;  
              }
              //alert(statesList);  
              var statesList = document.getElementById("ddlRegionCode");
              statesList.options.length = 0; 
              
              for (var i = 0; i < states.Rows.length; ++i)
              {            
                statesList.options[statesList.options.length] = new Option(states.Rows[i].RegionName, states.Rows[i].RegionCode);       
              }
            }