BlackFriday 2024! 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 3 Question 56 Discussion

Actual exam question for CIW's 1D0-735 exam
Question #: 56
Topic #: 3
[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:

Cherry
5 months ago
I see. So, the function needs to be executed when the form is submitted, therefore option B) makes the most sense.
upvoted 0 times
...
Roosevelt
6 months ago
I believe the function needs to be triggered when the form is submitted, so it should be attached to the
tag.
upvoted 0 times
...
Deeanna
6 months ago
But wait, why wouldn't it work with option A) adding the onsubmit event handler to the tag?
upvoted 0 times
...
Salena
6 months ago
I agree with Adding the onsubmit event handler to the tag makes sense.
upvoted 0 times
...
Roosevelt
7 months ago
I think the correct answer is B) The onsubmit event handler should be added to the tag.
upvoted 0 times
...
Linette
7 months ago
Good idea. We should make sure we have the correct solution.
upvoted 0 times
...
Devon
7 months ago
Let's double check the code to be sure.
upvoted 0 times
...
Linette
7 months ago
Are you sure about that? I believe it should be added to the tag.
upvoted 0 times
...
Devon
7 months ago
I think the onsubmit event handler should be added to the tag.
upvoted 0 times
...

Save Cancel