You can get the current date in JavaScript :
var now = new Date();
If you are using jQuery DatePicker , you can apply it to any text field as follows:
$('input.youTextFieldClass').datepicker({ dateFormat: 'mm/dd/yy', changeMonth: true, changeYear: true, yearRange: '-70:+10', constrainInput: false, duration: '', gotoCurrent: true});
If you want to set the current date in the text fields when loading the page:
$("input.youTextFieldClass").datepicker('setDate', new Date());
NAVEED
source share