Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

How do you submit a form using Javascript?

4 like 0 dislike
Hello

How do you submit a form using Javascript?

Please give me your feedback........
asked 1 year ago by rad_joshep (19,390 points)

1 Answer

2 like 0 dislike
 
Best answer
Use document.forms[0].submit();
(0 refers to the index of the form – if you have more than one form in a page, then the first one has the index 0, second has index 1 and so on).
answered 1 year ago by daneim (127,080 points)

Related questions

10 like 0 dislike
1 answer
5 like 0 dislike
1 answer
11 like 0 dislike
4 answers
asked 1 year ago by SeO (39,810 points)
3 like 0 dislike
1 answer
9 like 0 dislike
1 answer