title: How to show month in one datepicker based on the selection of month in another datepicker
body: <p>Here is the snippet where i need to fix the requirement</p>
  
  <p>Here i used jquery for datepicker</p>
  
  <pre><code>          &lt;link rel="stylesheet" href="http://code.jquery.com/ui/1.9.2/themes
             /base/jquery-ui.css" /&gt;
            &lt;script src="http://code.jquery.com/jquery-1.8.3.js"&gt;&lt;/script&gt;
            &lt;script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Here i gave datepicker to choose month by dropdownlist but problem is in two fields the user can select the month but i need to restrict the month selection in "to" field because the second datepicker should show the month of "from field" itself</p>
  
  <pre><code>$(document).ready(function () {
      $("#datepicker,#datepicker1").datepicker({
          changeMonth: true,
          changeYear: true,
          yearRange: "-0:c+10",
          dateFormat: "dd - M - yy"
      });
      $('#datepicker,#datepicker1').datepicker("setDate", new Date());
  }); 
  </code></pre>
  
  <p>Here are the two datepickers with two fieldnames "from" and "to"    </p>
  
  <pre><code>           &lt;li&gt;&lt;label class="label"&gt;From:&lt;/label&gt;&lt;/li&gt;
                 &lt;li&gt;&lt;input name="fdate" type="text" class="sel" size="10"  
                        id="datepicker" required /&gt;&lt;li&gt;
                 &lt;li&gt;&lt;label class="label1"&gt;To:&lt;/label&gt;&lt;/li&gt;
                 &lt;li&gt;&lt;input name="tdate" type="text" class="sel" size="10"  
                        id="datepicker1" required  /&gt;&lt;li&gt;
                 &lt;li &gt;&lt;label class="label" &gt;Weeks:&lt;/label&gt;&lt;/li&gt;
  </code></pre>