I just spent 2 hrs trying to figure out why I keep getting an IE error, “Object doesn’t support this property or method” on the following line called from a buttond = new Date();
My goal is to put a date 25 years from now in a field through Javascript. Works fine with @Adjust, but the page refresh is unacceptable.
Can do it just fine manually
document.forms[0].LesDeclassDate.value=“1/23/2037”
Tried every conceivable way of getting a JS object with today’s date, but no joy.
TIA for your help