i'm trying to create form based on the dropdown values. i followed this tutorial
but it didn't work for me.
any help would be appreciated
JQ example
$("#selectBox").change(function() {
var htmlString = "";
var len = $("options:selected", this).val();
for (var i = 0; i < len; i++) {
htmlString += "<input type='text' class='email'>";
htmlString += "<input type='text' class='name'>";
}
$("#outputArea").html(htmlString);
}
didn't work for meis just not enough to know your issues, could you explain the detail?