从ajax响应提交表单数据

从ajax响应提交表单数据,ajax,form-submit,Ajax,Form Submit,是否可以从ajax响应数据提交表单 $.ajax( { url : formURL, type: "POST", dataType: "json", data : postData, success:function(response) { response.form_data.submit(); //submit "response.form_data" will be <form>...</f

是否可以从ajax响应数据提交表单

$.ajax(
{
    url : formURL,
    type: "POST",
    dataType: "json",
    data : postData,
    success:function(response) 
    {
        response.form_data.submit();
        //submit "response.form_data" will be <form>...</form>
    }
});
没想到这会起作用。。。 工作得很有魅力