We use a DHTML calendar picker that only allows you to change the date, which is desired functionality. However, I need to figure out the javascript to change the date next to the calendar picker, as seen in the image below, and popup an "are you sure" message.
The above image is one row in a table, so the JS needs to be aware of which one of potentially 10+ dates it should be editing.
I'm a bit of a javascript n00b. Still learning new things. Feel free to link me to things to read and tips/hints/etc.
If it helps any, we're using PERL with CGI. I guess the JS will have to have an AJAX call to update the database, which I can figure out from other examples in the code base. I just need to figure out how to edit the date on the page for now.
And for clarification, the process is... the person clicks on that calendar icon, gets a DHTML date picker, chooses a date, confirms he wants to change datetime1 to datetime2, and then the change gets applied to the text you see next to the calendar icon and gets put in the database.