Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 Other Topics
 calaculate from form variables using JS

Author  Topic 

php95saj
Starting Member

43 Posts

Posted - 2002-08-23 : 10:18:15
I am trying to calculate value from some form variables. First time user loads the page there are default values assigned to these variables which are displayed in the relevant form fields. and the output is displayed at the bottom of the page. Soon as a user changes any of the value, I want the output to be changed accordingly adn displayed without the form having to be submitted. I was thinking to do this in JavaScript. Can anyone guide me as how to do this.
Cheers.


Sharjeel

smccreadie
Aged Yak Warrior

505 Posts

Posted - 2002-08-23 : 13:40:36
I believe if you use client-side Javascript with the onBlur event, you can do what you want.

Go to Top of Page
   

- Advertisement -