FORMS: drop down menu to textbox values

liunx

Guest
aHow can I have my drop down menus activate a certain value in a text box.<br />
<br />
Here is the URL of the project I have to do. It will help explain things a little better.<br />
<!-- m --><a class="postlink" href="http://mail.misu.nodak.edu/~eberhardtr/BIT312/">http://mail.misu.nodak.edu/~eberhardtr/BIT312/</a><!-- m --><br />
<br />
<br />
I need to have each brand of liquor bring up a its value in a text box, then if possible have that textbox mulitplied by the Quantity to produce a total. <br />
<br />
I'm hoping that theres an easier way than some hardcore database. <br />
<br />
Thanks. <br />
<br />
<!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e -->/~eberhardtr/BIT312/ (<!-- m --><a class="postlink" href="http://mail.misu.nodak.edu/~eberhardtr/BIT312/">http://mail.misu.nodak.edu/~eberhardtr/BIT312/</a><!-- m -->)<!--content-->This link (<!-- m --><a class="postlink" href="http://www.webapplikations.com/pages/html_js/forms/DropDownShowSelectionInTextField.html">http://www.webapplikations.com/pages/ht ... Field.html</a><!-- m -->) will display how to put value in a text field, the other part of your question is simply calculation...visit<br />
<!-- m --><a class="postlink" href="http://devedge.netscape.com">http://devedge.netscape.com</a><!-- m --><br />
<br />
for details on JavaScript<!--content-->Thanks perfect, but what is the code? Do I have to add all of that javascript to the <head>?<!--content-->not all,but only the relatve part of it<!--content-->Is there a way that I can have this number that appears in the text box be multiplied with another entered value??<br />
<br />
A product will be selected from the drop down menu, from that a value will appear in textbox1. Can the value in textbox1 be multiplied with another value (entered by another textbox or even another dropdown menu) to prduce a total???<!--content-->
 
Back
Top