Script: Popup Calendar
Problem: This script doesn't appear to work consistently when applying it to multiple input fields on a page. In this scenario it will return a date that was NOT selected by the user.
Example: (Assuming a MM/DD/YYYY format) I have two input text fields on a page that allow the user to select a "START DATE" and an "END DATE" using the Popup Calendar script. If I select 8/31/2004 as the "START DATE" and then select 9/10/2004 as the "END DATE", I am instead returned the value of 10/10/2004 as the "END DATE" instead of what I actually selected.
I have setup the script exactly as specified and it appears to work when using on only one field. It only appears to err when it is applied to multiple fields on a page.
Is this a bug? A configuration issue? Or was this script not intended to work with more than one field?
I would appreciate any feedback on this issue.