R
Renjith
Hi
how to set data to html from textbox from an asp page
renjith
how to set data to html from textbox from an asp page
renjith
Renjith said:Hi
how to set data to html from textbox from an asp page
renjith
Phill. W said:Renjith said:Hi
how to set data to html from textbox from an asp page
renjith
Something like this ?
[me.asp]
<html>
<body>
<form name='frmMain' action='./me.asp' method='post'>
<%
Dim sOne : sOne = Request.Form( "txtOne" )
If sOne <> "" Then
Response.Write "<p>Value is <b>" _
& Server.HTMLEncode( sOne ) _
& "</b></p>"
End If
Response.Write "<p><input " _
& "type='input' " _
& "name='txtOne' " _
& "value='" & sOne & "' " _
& "size='20' " _
& "></p>"
Response.Write "<p><input " _
& "type='submit' " _
& "name='submit' " _
& "></p>"
%>
</form>
</body>
</html>
HTH,
Phill W.
Renjith said:Hi Phill
Sorry , the question i gave was wrong....
"how to set data to html form textbox from an asp page"
Like after validation of the form i have to show "Invalid User" in the HTML
file , from the asp file , where validation is done.
Renjith
Phill. W said:Renjith said:Hi
how to set data to html from textbox from an asp page
renjith
Something like this ?
[me.asp]
<html>
<body>
<form name='frmMain' action='./me.asp' method='post'>
<%
Dim sOne : sOne = Request.Form( "txtOne" )
If sOne <> "" Then
Response.Write "<p>Value is <b>" _
& Server.HTMLEncode( sOne ) _
& "</b></p>"
End If
Response.Write "<p><input " _
& "type='input' " _
& "name='txtOne' " _
& "value='" & sOne & "' " _
& "size='20' " _
& "></p>"
Response.Write "<p><input " _
& "type='submit' " _
& "name='submit' " _
& "></p>"
%>
</form>
</body>
</html>
HTH,
Phill W.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.