hannes1
asked on
Adding a selected value from a listbox to a form.
How do I add a value that I click on in a listbox (created in HTML) to a textbox in a form (<FORM></FORM>).
The listbox is not in the <FORM></FORM> tags.
How?????
Thanks
Hannes
The listbox is not in the <FORM></FORM> tags.
How?????
Thanks
Hannes
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I aplogise for taking so long.
Thanks
Hannes
Thanks
Hannes
No problem, thanks for the points
<head>
<script language=vbscript>
sub SetTextbox
window.document.forms(0).t
end sub
</script>
</head>
<body>
<form>
<input type=text id=txtBox>
</form>
<SELECT size=2 id=select1 name=select1 onclick="SetTextBox">
<OPTION>Possibility1</OPTI
<OPTION>Possibility2</OPTI
</SELECT>
</body>
</html>
This page might help you.