This seems like it should be simple, but I can't get it, so I'd appreciate any help.
I've got a text box in which a user enters a number, but I want to make sure that the number is a multiple of 5 (e.g., 5, 10, 15, etc.). I know I need to use a function that I can either call on an onBlur event for the textbox, or the onSubmit event for the form's submit function. I'm just not sure what that function should look like.
Can anyone help?
Thanks
Don
I've got a text box in which a user enters a number, but I want to make sure that the number is a multiple of 5 (e.g., 5, 10, 15, etc.). I know I need to use a function that I can either call on an onBlur event for the textbox, or the onSubmit event for the form's submit function. I'm just not sure what that function should look like.
Can anyone help?
Thanks
Don