title: Display JQuery Datepicker Today button only to a specific control
body: <p>We are having multiple datepickers in our application. But we wanted to display Today button only in one page. </p>
  
  <p>How can we show Today button only to a specific control?</p>
  
  <p>I tried the below options:
  1) Added class in the beforeshow of the datepicker</p>
  
  <pre><code> beforeShow: function (input, inst) {
              $('#ui-datepicker-div .ui-datepicker-current').addClass('repositoryDate');
          }
  </code></pre>
  
  <p>2) I also tried to add class directly to the datepicker</p>
  
  <pre><code> $("#val_effective_date").datepicker({
          showOn: 'both',
          dateFormat: 'dd-MM-yy',
          buttonImage: glSiteName + '/Content/Images/Icons/Calendar.png',
          buttonImageOnly: true,
          showButtonPanel: true,
          buttonText: 'Currrent Date',
          changeMonth: true,
          changeYear: true,
          altFormat: 'yymm',
          minDate: new Date($("#createdDate").val()),
          maxDate: new Date(9999, 12, 31),
          //onClose: function (dateText, inst) {
          //    $(this).datepicker('setDate', new Date());
          //},
          onChangeMonthYear: function (y, m, i) {
              var d = i.selectedDay;
              $(this).datepicker('setDate', new Date(y, m - 1, OnMonthYearChangeDateCheck(d, m - 1, y)));
          },
          beforeShow: function (input,inst) {
              $('#ui-datepicker-div .ui-datepicker-current').addClass('dataValidationDate');
          }
      }).next('.ui-datepicker-current').addClass('repositoryDate')
  </code></pre>
  
  <p>Then in the css added the below style</p>
  
  <pre><code>.repositoryDate{
  visibility:visible
  }
  </code></pre>