I have a generic reset button on my form what resets all the values in the text boxes back to the original values that were in there when coming in to the page. On those text boxes I have an onblur event that changes the color of the text if the user goes in and changes the value from it's original value. If the user enters what was the original value in the text box, it changes or keeps the color of the text black or default color. The function works fine when the user is changing the text values, BUT, how come when I use the reset button and it changes all the changed values back to the orginal values, the onblur event behind the text controls must not be called because the colors of the text is not changed back to the original or black text like it does in the function when the user changes the values. Why is this? How can I get the onblur functions to be called? I don't want to have to write an entire reset function and try to keep track of all the original values etc on the form. The form is a calendar and obviously changes month to month, and each day can have up to 3 different text values on it.
THANKS for helping me understand!
THANKS for helping me understand!