title: jQuery Load form elements through ajax, from onchange event of drop down box
body: <p>I have a dropdown and need to dynamical load form elements based on a statement</p>
  
  <pre><code>&lt;select name="type" id="type"&gt;
     &lt;option value="1"&gt;input&lt;/option&gt;
     &lt;option value="2"&gt;text&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>case 1 load some form elements (input etc..)<br>
  case 2 clear these elements
  ...</p>
  
  <p>Thanks</p>