title: Datepicker inline JQuery
body: <p>I would like to add a datepicker (datepicker-inline) into a div (not input), then I must select a date before to be able to click on a button (validate_date) . 
  I tried with input, it works, but not with div. any suggestion? </p>
  
  <pre><code>        //Validate Date
          $("#validate_date").click(function () {
              // Make sure select a Date
  
              if($("#datepicker-inline").datepicker("getDate") === null) {
                  $('.notyfy_container').removeClass('hidden').show();
                  notyfy(
                  {
                      layout: 'bottom',
                      theme: 'default',
                      text: "&lt;?php echo $this-&gt;lang-&gt;line('select');?&gt;",
                      type: 'error',
                      timeout: 4000, // delay for closing event. Set false for sticky notifications
                      closeWith: ['hover'], // ['click', 'button', 'hover']
                  });
  
              }else{
                  $(".notyfy_container").hide();
                  $(".step2").hide();
                  $('.step3').removeClass('hidden').show();
              }
          });
  </code></pre>