Thanks for your help iza, I understand what you're suggesting, and may have to bite the bullet and redevelop the structure of this pages validation functionality (the problem, as always, being the fact that someone else developed the page and I'm simply trying to fix their bugs!!). Thanks, Tom.
jaredn - Thanks for the suggestion.
iza - The value shouldn't be the SAME because it is being set in the validation function to zero, hence when the user enters the same text as before they are changing the value from zero to something else.
The onBlur method does execute every time the object...
Scenario: User enters a new value into a text field. Upon tabbing out of the field the onChange event is fired which calls a function. Validation within this function checks the entered value. If the value isn't valid an alert is executed and the value is set to 0. If the user now enters the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.