html arithmatic code?

  • Thread starter Thread starter tryingto
  • Start date Start date
T

tryingto

Guest
i have a drop down box on my webpage (html code below) that our members select then all i want to do is have another "text" box autopopulate (where the ????? are below) with # of Small Breakfasts x $1.00....i'm a newbie to the HTML world and i'm stuck, can you help?

Please enter Number of Small breakfasts (1 dollar each): <select name="smallbr">
<option value=0 selected>0 Small Breakfast
<option value=1>1 Small Breakfast
<option value=2>2 Small Breakfasts
<option value=3>3 Small Breakfasts
<option value=4>4 Small Breakfasts
<option value=5>5 Small Breakfasts
<option value=6>6 Small Breakfasts
<option value=7>7 Small Breakfasts
<option value=8>8 Small Breakfasts
<option value=9>9 Small Breakfasts
<option value=10>10 Small Breakfasts
</select>
<p>

$Amount Due for Small Breakfast(s): ???????????????
 
Back
Top