怎么设置target
怎么让这个网页在新的页面打开
function BaiduSearch()
{
SearchString = document.SearchFrom.SearchText.value;
if(SearchString != "")
{
SearchUrl = "http://www.baidu.com/s?wd=" + SearchString ;
}
else
{
SearchUrl = "http://www.baidu.com/";
}
location.href = SearchUrl;
}