Check it out (achieved this with the plugin)
http://jsfiddle.net/pandiyancool/v6zpbmao/
$(document).ready(function() { $("#myDatePicker").datepicker({ showOn: 'button', buttonText: 'Click me', dateFormat: 'dd/mm/yy', constrainInput: true }); $(".ui-datepicker-trigger").mouseover(function() { $(this).css('cursor', 'pointer'); }); });
source share