briandunning
05-28-2003, 09:41 AM
Hi,
I have a simple form and I want to update a couple other fields when someone types a number into one of them. I couldn't find this at javascripts.internet.com so I thought I'd ask here. Here's my simplified example, with three fields a,b, and c:
[a] - user types a number in here
[b] - read-only, updates to show the same number in [a]
[c] - read-only, updates to show value [a] plus 100
Thanks, I hope that makes sense. I want this to happen onChange of [a] rather than by clicking a button.
I have a simple form and I want to update a couple other fields when someone types a number into one of them. I couldn't find this at javascripts.internet.com so I thought I'd ask here. Here's my simplified example, with three fields a,b, and c:
[a] - user types a number in here
[b] - read-only, updates to show the same number in [a]
[c] - read-only, updates to show value [a] plus 100
Thanks, I hope that makes sense. I want this to happen onChange of [a] rather than by clicking a button.