Active Server Pages Programming (ASP)/Simple question !!!
Expert: Srini Nagarajan - 10/2/2005
QuestionDear Srini,
I would like to build a page on the internet that the user would be able to input 2 numbers (NumberA and NumberB) and after pressing a button, the site would return him the result of the division (NumberA/NumberB). Also I would like the division to be hidden so the user would never be aware of the calculation that took place. Do you understand what I mean?
2 editboxes that accept numbers,
a button and
a textbox to display the result of the calculation (which should be invisible to the surfer).
Do you think that you could help? Thanks Nik
Answerhi
Do you want to do using any server side code or do you want to do thru Javascript? if you want to do using javascript
Here is the math calculation formula with sample
You can take the code from there..
http://solar.physics.montana.edu/kankel/math/jscalc.html
Happy programming!
-srini