I am having a html page with two date fields. The value of the second date field depends upon the value entered on the first date field. For example if the users 11/12/2004 in the first date field(mm/dd/yyyy), the second date field should become 12/1/2004(mm/dd/yy).I wrote a method to be triggered on onblur method of the first date field. It works fine. I have the requirement that the second date field can be changed by the user also. Now if the user just focus and blur on the first date field the second date field gets changed. This should not happen. Only when there is a change in the value of the first date field,the second date field should be changed? How to handle this? Please any ideas..