It is a rather broad question, but I’ll try to answer it.
The following approach enables you to put all the forms in one .html file and just give them different ID. (Say #form1, #form2, #formN
.) If a user selects one, you should just figure out the right ID and then do:
$('#elementYouWantTheLoadedFormIn').load('ajax/fileWithTheForms.html #' + formID, function() {
// Optional callback.
});
11
solved select a web form and load it [closed]