房天下 > 房天下问答 > 业主生活 > 其他
  • 找了一个输入日历的语句,如何嵌入到ASP程序中调用,请教

    代码实在太多,最后几行是这个 。。。。。。。。。} </SCRIPT> </HEAD> <BODY onclick="hiddenCal()"> <form name="form22" method="post" > 开始日期:<INPUT TYPE="TEXT" name=stadate ONCLICK="showCalendar(this);this.blur();" class="boxinput" onmouseout="calshow=false"/> 结束日期:<INPUT TYPE="TEXT" name-endstate ONCLICK="showCalendar(this);this.blur();" class="boxinput" onmouseout="calshow=false"/> <div id="calendar" style="position:absolute;height:140px;width:160px;display:none;border:1px inset #003399;" onmouseover="calshow=true" onmouseout="calshow=false"/> </form> </BODY> </HTML>我是在主index.ASP中 用<form name="form1" method="post" action="search.asp" target="_blank"><input name="st

    提问者:qkbvvh

    发布于2011-01-28

共1个回答
  • swj0819 丨Lv 4
    即代码如下,在form中的 添加action即提交地址的属性,然后添加用户输入框 和 提交按钮。代码如下 。。。。。。。。。} </SCRIPT> </HEAD> <BODY onclick="hiddenCal()"> <form name="form22" method="post" action="search.asp"> 开始日期:<INPUT TYPE="TEXT" name="stadate" ONCLICK="showCalendar(this);this.blur();" class="boxinput" onmouseout="calshow=false"/> 结束日期:<INPUT TYPE="TEXT" name="endstate" ONCLICK="showCalendar(this);this.blur();" class="boxinput" onmouseout="calshow=false"/> <div id="calendar" style="position:absolute;height:140px;width:160px;display:none;border:1px inset #003399;" onmouseover="calshow=true" onmouseout="calshow=false"/> <input name="stype" type="radio" value="yhxx" > 用户信息<input type="submit" name="submit" value="查询"> </form> </BODY> </HTML>------search.asp --- 取得用户信息 和 起止日期<%stadate = Request("stadate")endstate = Request("endstate")stype = Request("stype")%>
    +1 2011-01-28 举报
热门人气推荐
免责声明:问答内容均来源于互联网用户,房天下对其内容不负责任,如有版权或其他问题可以联系房天下进行删除。