I have a dropdown and need to dynamical load form elements based on a statement
<select name="type" id="type">
<option value="1">input</option>
<option value="2">text</option>
</select>
case 1 load some form elements (input etc..)
case 2 clear these elements
…
Thanks
try this: