awkaj
07-31-2003, 12:50 AM
who can tell me how to refresh data textbox, i have 3 input / textbox
i want 3rd textbox value = 100 - (1st textbox value + 2nd textbox value)
if i input number in 1st or 2nd textbox, the 3rd textbox automate refresh and calculate . if 1st textbox = 10 and 2nd textbox empty, the 3rd textbox = 90
i want this code can detect number / alpha , so if i input '1a' it will shown the alert and the input focused and empty.
and if the textbox is empty the value=0
thank's for help
i want 3rd textbox value = 100 - (1st textbox value + 2nd textbox value)
if i input number in 1st or 2nd textbox, the 3rd textbox automate refresh and calculate . if 1st textbox = 10 and 2nd textbox empty, the 3rd textbox = 90
i want this code can detect number / alpha , so if i input '1a' it will shown the alert and the input focused and empty.
and if the textbox is empty the value=0
thank's for help