I want to access CFINPUT DateField in my JavaScript, but got page error.
It works if I use text field, but not DateField
<SCRIPT>
function GetLink()
{
var url = 'MyForm.cfm?StartDate=' + document.MyRequest.dtpEndDate2.Value;
return url;
}
</SCRIPT>
I have above code in my script, it works if the control is a text field, but I got page error when I use DateField,
Please advise how I can read the datefield value,
Your help and information is great appreciated,
Regards,
Iccsi,