I would like to share an interesting feature that I found as I was trying to submit form through JavaScript.
If you are trying to "form.submit()" through javascript and any form elements present with the name of "submit" in it, then in that case it will give you an error and form will not be submitted. You have to rename the particular element from 'submit' to 'submitBtn' or anything else for the successful submission.
You can also make necessary changes if any more required according to you.
0 Comment(s)