I have a dropdown and need to dynamical load form elements based on a statement
We may want to try this also
$("#type").change(function() {
$.post(
"yourRequestHandlingPage.php",
{
param: $(this).val();
},
function(data) {
//supposing data holds the html output of dynamically creawted form element
$(".myformcontent").append(data); //add the elements at the end of the form elemetn
}
});