I tried
var form = $('.form').clone();
form.submit();
so I’m trying to submit a form inside variable form which is not exactly rendered on the page since it was cloned from another form…but I’m not seeing any signs that the form has been submitted
my question is…is this use case even possible in the first place? Can you use jquery to submit a form that is contained within a javascript variable and is not actually rendered on the page?
If not, is it possible to tweak it somehow so that you can indeed submit a form inside a variable? (without actually rerendering it on the page of course)
This is how I have done it in the past: