<input type="text" id="DOB" /> <p>Click the icon next to the input field to show the datepicker</p>
$(document).ready(function () { $("#DOB").datepicker({ showOn: "button", buttonText : "DatePicker", buttonImage: "https://lh6.googleusercontent.com/-4mIOpMQ8TMo/UYTIwScsDPI/AAAAAAAABbE/7osEswE2ALQ/h120/calendar.gif", buttonImageOnly: true }); });