How to used ASP & Radio Button This the tutorial/example a scripts how to use ASP & Radio Button
ShotDev Focus:
- ASP & Radio Button
Example
asp_radio1.asp
<html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <form action="asp_radio2.asp" method="post" name="form1"> Please select sex.<br> <input name="rdoSex" type="radio" value="Man">Man<br> <input name="rdoSex" type="radio" value="Woman">Woman<br> <input name="btnSubmit" type="submit" value="Submit"> </form> </body> </html>
asp_radio2.asp
<html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <% Response.write Request.Form("rdoSex") %> </body> </html>
Create a asp file and save to path root-path/myasp/
Run
http://localhost/myasp/asp_radio1.asp
Screenshot
2trailer…
…