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 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
6 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
7 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
7 months ago
But wait, why wouldn't it work with option A) adding the onsubmit event handler to the tag?
upvoted 0 times
...
Salena
7 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
8 months ago
Good idea. We should make sure we have the correct solution.
upvoted 0 times
...
Devon
8 months ago
Let's double check the code to be sure.
upvoted 0 times
...
Linette
8 months ago
Are you sure about that? I believe it should be added to the tag.
upvoted 0 times
...
Devon
8 months ago
I think the onsubmit event handler should be added to the tag.
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