Answer the question
In order to leave comments, you need to log in
Is there an equivalent for submit(), but only for non-form blocks?
There is a need to hang captcha not on the form, but on the block. It is possible to do this, but how would one replace the submit function where it should submit the form?
document.getElementById("my-element").submit();
Answer the question
In order to leave comments, you need to log in
Yes, put a handler on a button click, then check the data. Send data with ajax instead of submit
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question