Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

CFINPUT DateField

$
0
0

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,


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>