Creating a simple function script
I know this might be a stupid question, but I really need help on this one because I don't know Javascript at all and I was hoping someone here might be able to help me out.
I have a form where someone will enter a number, say "25" lets call this field "L". They will then press the calculate key and 4 different answers will appear.
#1 - will be the answer of 25*2.05
#2 - will be the answer of 25*1.99
#3 - will be the answer of 25*1.62
#4 - will be the answer of 25*.95
If someone could help me out and explain how I should write this I would appreciate it.
|