faqts

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 7 people (29%) answered Yes
Recently 2 of 7 people (29%) answered Yes

Entry

How do I define a select box to pass ids (eg id=2) but show text instead of the id (e.g Tuesday)

May 12th, 2008 21:24
i can do it, Arun Aruna, Sam Russo,


<body>
<form name = "sample" method="post">
<select name="selectdays">
<option value='0'>Select Days</option>
<option value='1'>Sunday</option>
<option value='2'>Monday</option>
<option value='3'>Tuesday</option>
<option value='4'>Wednesday</option>
</select>
<%
if request.form.count > 0 then
    response.write request.form("selectdays") 'This will display value 
end if
%>
<input type=submit name=sumbit value=submit>
</form>
</body>
http://www.stupidarticles.com
http://www.halazona.com
http://www.shikapika.com
http://www.stakoza.com
http://www.uploadarticles.com
http://www.ganazat.com
http://www.damima.com
http://www.tarabiza.com
http://www.articlesxarticles.com
http://www.articlesfreedirectory.com