colorpicker HTML code: <input type="text" class="datepicker"> JavaScript code: $(".datepicker").datePicker({ // options }); Screnshot: