Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CIW Exam 1D0-735 Topic 1 Question 77 Discussion

Actual exam question for CIW's 1D0-735 exam
Question #: 77
Topic #: 1
[All 1D0-735 Questions]

Consider the following code:

The processform() function is not executed when the submit button is pressed. What change should be made to correct this?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Hollis
4 days ago
Wait, why would we need to add an event handler to the submit button? That's like trying to dry your hair with a hammer. The answer is definitely B.
upvoted 0 times
...
Susy
6 days ago
Because the onsubmit event handler should be added to the
tag, not the tag.
upvoted 0 times
...
Temeka
7 days ago
Why do you think B is the correct answer?
upvoted 0 times
...
Susy
9 days ago
I disagree, I believe the correct answer is B.
upvoted 0 times
...
Tarra
11 days ago
Haha, I'm not falling for those tricky onfocus event handlers. This is clearly a question about form submission, so the answer has to be B.
upvoted 0 times
...
Pansy
16 days ago
Hmm, I think the answer is B. The onsubmit event handler should be added to the tag. That's the standard way to capture form submission events.
upvoted 0 times
Solange
8 days ago
I agree with you, option B is the correct answer.
upvoted 0 times
...
...
Temeka
29 days ago
I think the correct answer is A.
upvoted 0 times
...

Save Cancel