+ -
当前位置:首页 → 问答吧 → asp 输入框的值怎样传递到另一个页面的输入框,请教各位大师

asp 输入框的值怎样传递到另一个页面的输入框,请教各位大师

时间:2011-12-01

来源:互联网

index.asp:
<form method="post" id="burn_form" action="register.asp" onSubmit="return check_dns()">
<input name="LoginName" type="text" class="burnfeed" id="dns_name" style="width:180px;" onFocus="this.classname='burnfeed2';this.value='<%=session("tloginname")%>';"" 
onblur="if(this.value=='')value='请输入您要申请的域名';" onfocus="if(this.value=='请输入您要申请的域名')value='';" value="请输入您要申请的域名" maxlength="20" style='ime-mode: disabled; '/>



register.asp:
<form name="form1" method="post" action="" onsubmit="return checkdate();" autocomplete=off >
  <input name="LoginName" type="text" id="username" onBlur="getUsers()" size="20" value="<%tloginname=session("tloginname")%>" maxlength="50" style='ime-mode: disabled; '/>


asp 输入框的值怎样传递到另一个页面的输入框,请教各位大师

作者: Xdawei   发布时间: 2011-12-01

register.asp:
HTML code

<%
tloginname = Request.Form("LoginName")
%>
<form name="form1" method="post" action="" onsubmit="return checkdate();" autocomplete=off >
  <input name="LoginName" type="text" id="username" onBlur="getUsers()" size="20" value="<%=tloginname%>" maxlength="50" style='ime-mode: disabled; '/>

作者: hookee   发布时间: 2011-12-01

register.asp:
<form name="form1" method="post" action="" onsubmit="return checkdate();" autocomplete=off >
  <input name="LoginName" type="text" id="username" onBlur="getUsers()" size="20" value='<%=request.Form("tloginname")%>' maxlength="50" style='ime-mode: disabled; '/>

作者: hefeng_aspnet   发布时间: 2011-12-01

热门下载

更多