Click to See Complete Forum and Search --> : Desprate HELp... Urgent.. need code in 24 hours


revx
10-07-2003, 07:53 PM
Hi~ I have developed a web page for a fictious company for a school project.

it has to calculate the total price of the tickets ...

eg:

____ x $10
____ x $5

Total : $______


anyone know how to come up with such a script?


Thanks ... its desprate

Khalid Ali
10-07-2003, 08:39 PM
it would have been allot beter if you tried to create a form and thenposted a specific question...(you can sill do that ya know..:D )

SA Heat
10-08-2003, 01:47 AM
Instead of Java script use Excel for formulas and calculations its much easier.

_Arno_
10-08-2003, 02:10 AM
Var1total = calcnumber1 * 10;
Var2total = calcnumber1 * 5;
Vartotal = var1total + var2total
print VarTotal


'dunno if print is possible in js
'in php it is ;)

revx
10-08-2003, 06:29 PM
any code? i am so desperate... sigh...

plus it has to do with radio buttons and drop down menus... sigh

Revx

pyro
10-08-2003, 06:33 PM
Can't you ask your teacher? If not, ask specific questions, and that way we can help, by leading you in the right direction.