What should you do?

You develop an HTML5 webpage. You have the following HTML markup:

You need to prevent users from entering specific characters into the username field.
What should you do?
A. Using the keyup event, add an anonymous function that returns true when a specific character keycode value is determined.
B. Using the change event, add an anonymous function that returns true when a specific character keycode value is determined.
C. Using the keydown event, add an anonymous function that returns false when a specific character keycode value is determined.
D. Using the change event, add an anonymous function that returns false when a specific character keycode value is determined.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.