I have a problem with the global variable valueValidated when I try the following code in firefox.
I wish to validate a value when either the user leaves the field by using the tab key or if they click on a button. I have defined an onchange function to perform a validation if they change the field then change it and also an onmousedown function on the save button to perform validation then save the value. The user may click on the...