I am using this code to allow users to populate a text field by selecting a date from the pop-up calendar. This part works.
How do I have this function also populate another field with the same exact date in a DIFFERENT format?
Here is the code that I have tried without success:
<input type="text" id="topic_publish_date" name="topic_publish_date" maxlength="11" size="11" value="<%=strBlogTopicPublishDate%>" readonly="readonly"><input type="text" id="sort_by_date" name="sort_by_date" value="" /> <a href="#" onclick="cal1.select(document.standardform.sort_by_date,'anchor1','MM/dd/yyyy'); cal1.select(document.standardform.topic_publish_date,'anchor1','d NNN yyyy'); return false;" title="cal1.select(document.standardform.sort_by_date,'anchor1','MM/dd/yyyy'); cal1.select(document.standardform.topic_publish_date,'anchor1','d NNN yyyy'); return false;" name="anchor1" id="anchor1" class="floatimg"> </a>
Any help would be appreciated.