INPUT读出URL里的变量名称

程序代码

<INPUT name=Email  <% if request("mail")="" then response.write "onblur=getUrl(this.value)"%> size=30 maxLength=50 value="<%=request("mail")%>">
                             <font color="#FF0000">*</font></TD>
                         </TR>
                         <script>
function getUrl(s)
{
if (s!="")
{window.open("Reg?mail="+s);}
}
</script>

例如: http://www.xx.com/[email protected]
实现:Input文本框中显示[email protected]

你可能感兴趣的:(input)