代码如下:<input type="button" name="query" id="query" value="query" onclick="javascript:window.location.href='list_report.asp?startdate='+document.getElementById('startdate').value&enddate='+document.getElementById('enddate').value;"/>单独传?startdate='+document.getElementById('startdate').value或传enddate='+document.getElementById('enddate').value 参数没问题,要两个一起传就不知道怎么写了,总是出错!求达人帮助啊!
取:
Server.UrlDecode( Request.QueryString["a"].ToString());
------------------------------
"javascript:window.location.href='list_report.asp?startdate="+document.getElementById("startdate").value+"&enddate="+document.getElementById("enddate").value+"';";你把document.getEmementById()放''或者""里能行么
你写的是a.asp?xx='ss'