title: How to populate dependable drop-down using Ajax and php
body: <p>Hi i want to manage data on drop-down menu using Ajax.</p>
  
  <p><strong>Databse Fields:</strong></p>
  
  <p>1.id</p>
  
  <p>2.name</p>
  
  <p>3.department         </p>
  
  <p><strong>myDesgin.php</strong></p>
  
  <pre><code>     &lt;select id="id"&gt;&lt;/select&gt;
       &lt;select id="name"&gt;&lt;/select&gt;
       &lt;select id="department"&gt;&lt;/select&gt;
  </code></pre>
  
  <p>1.If i selected one drop-down menu  want to change another drop-downs depend on selected value using Ajax.</p>
  
  <p>2.Is there any code available, if i select one drop-down it go to another child window and display data as in table format(like report) using <strong>Ajax</strong>.</p>
  
  <p>Thanks in Advance.</p>
  
  <p>Please give me example code, because i am beginner to ajax , most welcome if someone provide explanation with code(for ajax).</p>