Cyber Monday 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
4 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
3 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
4 months ago
B) The onsubmit event handler should be added to the
tag.
upvoted 0 times
...
...
Isadora
4 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
4 months ago
I agree with Erasmo, B seems like the correct answer.
upvoted 0 times
...
Shakira
4 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
3 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
3 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
4 months ago
I think the correct answer is B) The onsubmit event handler should be added to the tag.
upvoted 0 times
...
...
Erasmo
4 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
4 months ago
B) The onsubmit event handler should be added to the tag.
upvoted 0 times
...
Leota
4 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
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77