Display today's date with datepicker
Hello everyone, I'm new so maybe this question is dumb but I cant seem
to find how to display in the input box today's date when the page
loads with datepicker. If there is another way to do it please let me
know. So far Ive been working with the demos so this is what I have so
far as the function call:
<script type="text/javascript">
$(function() {
$('#datepicker').datepicker({
numberOfMonths: 2,
showButtonPanel: true,
dateFormat: 'yy-mm-dd'
});
});
</script>