I am struggling with this simple thing. I have an input control on my page with type=date. On page load i would like to set it = to the current date.
I am using the following code that just does not work.
var today = new Date();
Appery ("BatchHdr_StopDate").val(today.toISOString ());
I have also tried;
Appery ("BatchHdr_StopDate").val(today);
I cannot get this to work. Any ideas?