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 4 Question 65 Discussion

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

Lucina
3 months ago
B is the way to go. I mean, it's common sense, right? You submit a form, the form should handle the submission.
upvoted 0 times
Sabra
2 months ago
Exactly, adding the onsubmit event handler to the form tag will ensure the processform() function is executed when the submit button is pressed.
upvoted 0 times
...
Stefania
3 months ago
B) The onsubmit event handler should be added to the
tag.
upvoted 0 times
...
...
Isadora
3 months ago
Haha, whoever chose C or D must be trying to be a comedian. Onfocus? Really? Let's stay focused, people!
upvoted 0 times
...
Jonell
3 months ago
I agree with Erasmo, B seems like the correct answer.
upvoted 0 times
...
Shakira
3 months ago
Hmm, I thought the answer would be A. Rookie mistake, I guess I need to review my event handler knowledge.
upvoted 0 times
Donte
2 months ago
Yeah, adding the event handler to the tag is the right way to go. Good luck with your review!
upvoted 0 times
...
Carman
2 months ago
Don't worry, it's a common mistake. Just remember to add the event handler to the tag next time.
upvoted 0 times
...
Brent
3 months ago
I think the correct answer is B) The onsubmit event handler should be added to the tag.
upvoted 0 times
...
...
Erasmo
3 months ago
But adding the onsubmit event handler to the tag makes more sense.
upvoted 0 times
...
Dyan
4 months ago
The solution is clearly B. The onsubmit event handler should be added to the tag to execute the processform() function when the submit button is pressed.
upvoted 0 times
Jettie
3 months ago
D) The onfocus event handler should be added to the tag
upvoted 0 times
...
Emerson
3 months ago
C) The onfocus event handler should be added to the tag.
upvoted 0 times
...
Janine
3 months ago
B) The onsubmit event handler should be added to the tag.
upvoted 0 times
...
Leota
3 months ago
A) The onsubmit event handler should be added to the tag.
upvoted 0 times
...
...
Sharmaine
4 months ago
I disagree, I believe the answer is B.
upvoted 0 times
...
Erasmo
4 months ago
I think the answer is A.
upvoted 0 times
...

Save Cancel