On my page https://fiftyallstars.com/50/curriculum.html , I have some basketball drills loading from a google spreadsheet of mine. Only thing is after it loads, I can't seem to get the datepicker to show today's date. My players get confused by having to select the date each time, and I'd rather it just default to today's date instead.
Looking around the web, I stumbled upon a code that looked like it should work but did not
$(document).ready(function() {
$('#txtDate').datepicker();
$('#txtDate').datepicker('setDate', 'today');
});
Assuming that's close, could someone help me perfect it and maybe tell me where exactly to add it? Or, if there's a better way, please help me out. I truly appreciate your assistance.