Calculate
I have two text fields. In one you enter a number. The second one should automatically fill in 20% of the number in the first text box.
How can this be done using javascript?
Thanks!
Jody
I have two text fields. In one you enter a number. The second one should automatically fill in 20% of the number in the first text box.
How can this be done using javascript?
Thanks!
Jody
Suzanne posted this at 14:16 — 11th July 2003.
She has: 5,507 posts
Joined: Feb 2000
onblur(this.other.field = function that calculates the percentage for the other field)
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.