Dynadot โ€” .com Transfer

Drop Down

Spaceship Spaceship
Watch

mensandwomensfo

Established Member
Impact
0
How do you make a drop down box so whenever you select one of the options in it, text box that is underneath of it fills in with a description of what you have selected (small paragraph description)

THANK YOU
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
You will want to use javascript for this...Here is some code that I whipped up. Is this what you want?

Code:
<html>
<head>
</head>
<body>
<form name="form1">
 <select name="select1" onchange="document.form1.desc1.value=this.value">
   <option value="">--Select--</option>
   <option value="this value is true">True</option>
   <option value="this value is false">False</option>
   <option value="this value is other">Other</option>
 </select>
 <input type="text" name="desc1" size="30">
</form>
</body>
</html>
 
Last edited:
0
•••
Dynadot โ€” .com TransferDynadot โ€” .com Transfer
Appraise.net
Domain Recover
DomainEasy โ€” Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back