User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » in-page calculator Page [1]  
drtaylor
All American
1969 Posts
user info
edit post

So I want to put something on a page that allows users to compute a numeric total by entering some different numbers and clicking a button to generate the total in a format like so:

[] is a text field

I want:
This many [A]
+ this amount [B] default = 0
+ this amount [C] default = 0
= This total [output] output = A*0.5+B+C
|Calculate total button|

What should I even be looking up to try and figure this out?

12/29/2005 3:43:03 PM

darkone
(\/) (;,,,;) (\/)
11609 Posts
user info
edit post

Pick a scripting language of your choice. Java will probably be the most common approach. As a plus, it can all run on the client side.

12/29/2005 7:48:48 PM

BigMan157
no u
103352 Posts
user info
edit post

javascript would probably be easiest and just use the onClick function in the button tag

12/29/2005 8:00:40 PM

drtaylor
All American
1969 Posts
user info
edit post

figured out a work-around, thanks

12/29/2005 11:53:05 PM

 Message Boards » Tech Talk » in-page calculator Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.38 - our disclaimer.