Question 57Asked in DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 3 (5:00 PM)

Which method is used to submit a form using JavaScript?

  1. Aform.send()
  2. Bform.submitForm()
  3. Cform.submit()
  4. Dform.post()
Show answerHide answer

Correct answer: (C) form.submit()

Explanation

Calling form.submit() on a form element submits it from JavaScript. send(), submitForm() and post() are not form methods.

From DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 3 (5:00 PM)

This is question 57 of DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 3 (5:00 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.