NGJ
05-14-2008, 09:35 AM
Hi,
I'd like to append the system date to the 'Subject' field of an email form.
Having no control over the .asp mailing script I have to use, I have to get the value into the field before the post.
<script type="text/javascript" language="JavaScript">
<!--
var calendarDate = getCalendarDate();
document.write (calendarDate);
//-->
</script>
Given I have something like this above to get the date, can someone please suggest how I achieve:
<input type="hidden" name="mailsubject" value="my subject"> + calendarDate
Thanks in advance,
N.
PS: I appreciate that the received date would be displayed in the message header row in Outlook, etc.:D
I'd like to append the system date to the 'Subject' field of an email form.
Having no control over the .asp mailing script I have to use, I have to get the value into the field before the post.
<script type="text/javascript" language="JavaScript">
<!--
var calendarDate = getCalendarDate();
document.write (calendarDate);
//-->
</script>
Given I have something like this above to get the date, can someone please suggest how I achieve:
<input type="hidden" name="mailsubject" value="my subject"> + calendarDate
Thanks in advance,
N.
PS: I appreciate that the received date would be displayed in the message header row in Outlook, etc.:D