I am using jQuery to populate the input date...

$('#contractDate').val("<cfoutput>#dateFormat(Now(), 'mm/dd/yy')#</cfoutput>");

When reset the val it changes the field value but the calendar is still 
defaulting to the date that it was before I changed it.

> Just set the field value equal to the default date you want.  
> Value="mydate"
> 
> 
> Robert Harrison 
> Director of Interactive Services
> 
> Austin & Williams
> Advertising I Branding I Digital I Direct  
> 125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788
> T 631.231.6600 X 119   F 631.434.7022   
> http://www.austin-williams.com
> 
> Blog:      http://www.austin-williams.com/blog
> Twitter:  http://www.twitter.com/austin_williams 
> 
> -----Original Message-----
> From: Chad Baloga [mailto:cbal...@gmail.com] 
> Sent: Monday, December 17, 2012 11:21 AM
> To: cf-talk
> Subject: Default date in cfinput type="datefield"
> 
> 
> I am wiping out a cfinput type=datefield and when that happens, the 
> selected date in the calendar still defaults to the value of the input 
> when the page loaded.  Is there any way to change that default to a 
> different date?? 
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353513
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to