编程论坛's Archiver

kingdomsheng 发表于 2008-5-8 15:58

.net编程的时间参数传递(高手帮帮我啊,我急着用)!!!!!!!!!!

我做的是在xx.aspx页面中<script type="text/jscript" >
          function OwnerSearch()
                {
                  var  str=window.showModalDialog("MT118P.aspx?temp=14",'',"DialogWidth:1280px;DialogHeight:1024px;help:no;resizable:no;status:no;");   
                  if(str!=null)   
                  {   
                       document.getElementById("txtOwner").value = str;
                  }   
                }
        </script>
        我要求的功能是在temp=4后加一个时间参数传递temp0=??,怎么实现啊,大家告诉我啊,谢了啊!!
就是要求传俩个参数temp0是当前时间

beniao 发表于 2008-5-9 22:03

回复 1# 的帖子

MT118P.aspx?temp=14&temp0=??

senrw 发表于 2008-5-10 09:17

MT118P.aspx?temp=14&temp0=<%=now()%>

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.