<head> <title>Untitled Document</title> <style type="text/css"> </style> </head> <body> <center> <br /> <form id="cv" action="" method=""> Choose Option: <select id="chedo"> <option>--Choose Value--</option> <option>A</option> <option>B</option> <option>C</option> </select> <br /> <br /> Value: <input type="text" id="lenh" size="40"/> <br /> <br /> <input type="submit" value="SUBMIT"/> </form> </center> </body> </html>
<script type="text/javascript" language="javascript"> $("#chedo").change(function(){ var selected = $("#chedo").val(); $("#lenh").val(selected); }); </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)