title: GAS - query date picker not working
body: <p>I am creating an html form where user needs to enter leave start date and end date. However, when the scripts are loaded this does not happen. I searched for all problems related to JQuery. Is there any way or any other widget that can be used to enter the date and validate that the end date is greater than the start date. It works in jsfiddle but not in GAS.</p>
  
  <p>The code is given below.</p>
  
  <p>Regards,</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  
  &lt;style&gt;
  body
  {
      font-size:8pt;
      font-family:Verdana;
      padding: 5px;
  }
  &lt;/style&gt;
  
  &lt;script&gt;
  
  $(document).ready(function(){
      $("#txtFromDate").datepicker({
          minDate: 0,
          maxDate: "+60D",
          numberOfMonths: 2,
          onSelect: function(selected) {
            $("#txtToDate").datepicker("option","minDate", selected)
          }
      });
      $("#txtToDate").datepicker({ 
          minDate: 0,
          maxDate:"+60D",
          numberOfMonths: 2,
          onSelect: function(selected) {
             $("#txtFromDate").datepicker("option","maxDate", selected)
          }
      });  
      &lt;?var logged_user = getcurruser();?&gt;
  
  });
  
  &lt;/script&gt;
  
  &lt;script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.16/jquery.min.js"&gt;&lt;/script&gt;
  &lt;link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jquerymobile/1.4.3/jquery.mobile.min.css" /&gt;
  &lt;script src="//ajax.googleapis.com/ajax/libs/jquerymobile/1.4.3/jquery.mobile.min.js"&gt;&lt;/script&gt;
  &lt;link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/smoothness/jquery-ui.css" /&gt;
  &lt;script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.0/jquery-ui.min.js"&gt;&lt;/script&gt;
  
  &lt;/head&gt;
  
  &lt;div&gt;
  
  &lt;form id="leaveapp"&gt;
  &lt;?var logged_user = getcurruser();?&gt;
  
  &lt;label&gt;&lt;?=logged_user?&gt;&lt;/label&gt;
  &lt;br/&gt;
  Leave Start Date: &lt;input type="text" id="txtFromDate" /&gt;
  Leave End Date: &lt;input type="text" id="txtToDate" /&gt;
  
  &lt;/form&gt;
  &lt;/div&gt;
  &lt;/html&gt;
  </code></pre>