The status after $("#document_template_session_frm").submit() is 200
OK.
but it seems that ajax:success is not considered because invite_frm
submit is not called.
I need a render call at the end of create method?
Just a wild guess, but are you returning valid json from the server?
I’ve seen that when I have a syntax error in my returned json.
Sorry for my ignorance.
I simply run create method from document_template_session_controller.
Why it works if I don’t submit the second form and doesn’t run if I
submit also the second form?
Just a wild guess, but are you returning valid json from the server?
I’ve seen that when I have a syntax error in my returned json.
Sorry for my ignorance.
I simply run create method from document_template_session_controller.
Why it works if I don’t submit the second form and doesn’t run if I
submit also the second form?
it seems that can’t do two or more consecutive submits via ajax in the
manner I’ve posted.
Can you suggest a solution?