title: How to apply Jquery Chaining to Multiple Parents method
body: <p>Need filter course details according to level and semester selectors value..We try it using <a href="http://www.appelsiini.net/2010/jquery-chained-selects" rel="nofollow noreferrer">Chaining to Multiple Parents</a></p>
  
  <p>(One child can also have two parents. Available options on child chained to multiple parents depend on one or both of the parents selected values)</p>
  
  <p>here code that we try (remove all Chained Selects codes,to get clear idea)</p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
      &lt;script type="text/javascript" src="jquery-1.8.3.min.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="jquery.chained.js"&gt;&lt;/script&gt;
  
      &lt;/head&gt;
      &lt;body&gt;
  
      &lt;select name="level" id="level_id"&gt;
                   &lt;option value="level-1"&gt;Level 1&lt;/option&gt;
                   &lt;option value="level-2"&gt;Level 2&lt;/option&gt;
                   &lt;option value="level-3"&gt;Level 3&lt;/option&gt;
      &lt;/select&gt;
  
      &lt;select name="semester" id="semester_id"&gt;
                   &lt;option value="semester-1"&gt;Semester 1&lt;/option&gt;
                   &lt;option value="semester-2"&gt;Semester 2&lt;/option&gt;
       &lt;/select&gt;
  
  
       &lt;select name="course" id="course_id"&gt;
                   &lt;option value="1"&gt;Multimedia&lt;/option&gt;
                   &lt;option value="10"&gt;Botany Practicals II&lt;/option&gt;
                   &lt;option value="9"&gt;Genetics&lt;/option&gt;
                   &lt;option value="4"&gt;Plant Diversity Unity &amp; Evolution&lt;/option&gt;
                   &lt;option value="6"&gt;Plant Anatomy&lt;/option&gt;
                   &lt;option value="5"&gt;Scientific Approach &amp; Biometrics&lt;/option&gt;
                   &lt;option value="11"&gt;Advanced Ecology&lt;/option&gt;
                   &lt;option value="12"&gt;Advanced Plant Pathology &lt;/option&gt;
                   &lt;option value="7"&gt;Advanced Microbiology&lt;/option&gt;
                   &lt;option value="8"&gt;Economic Botany&lt;/option&gt;
                   &lt;option value="13"&gt;Cropping System&lt;/option&gt;
                   &lt;option value="14"&gt;Food Technology&lt;/option&gt;
       &lt;/select&gt;
  
      &lt;/body&gt;
      &lt;/html&gt;
  </code></pre>
  
  <p>Here how course will be filter according to the level and semester
  <img src="https://i.stack.imgur.com/HJIwW.png" alt="enter image description here"></p>
  
  <p>But unable to understand how to apply that code.Please help us..</p>
  
  <p>Jquery Code: <a href="http://www.appelsiini.net/download/jquery.chained.js" rel="nofollow noreferrer">Jquery</a></p>