Currently, I wrote Ajax Form that works very well, all output from the form will puts in Result, expect when the result of form is another form at this time, my script doesn't works for new form that was the result of old form
My script doesn't work for new form So, I needs to make that new form works like old one, is that possible ?
$(document).ready(function()
{
$("form").submit(function(e)
{
e.preventDefault();
$("#Result").html("<div id='Loading'></div>");
$.ajax(
{
type: "POST",
data: $(this).serializeArray(),
success: function(Data)
{
$("#Result").html(Data);
}
});
});
});