nerdexam
Microsoft

70-515 · Question #54

70-515 Question #54: Real Exam Question with Answer & Explanation

Sign in or unlock 70-515 to reveal the answer and full explanation for question #54. The question stem and answer options stay visible for context.

Question

You are developing a Web page. The user types a credit card number into an input control named cc and clicks a button named submit. The submit button sends the credit card number to the server. A JavaScript library includes a CheckCreditCard function that returns a value of true if the credit card appears to be valid, based on its checksum. You need to ensure that the form cannot be used to submit invalid credit card numbers to the server. What should you do?

Options

  • AConfigure the input control to run on the server.
  • BOn the input control, add an onChange handler that calls CheckCreditCard and cancels the
  • CConfigure the input control and the submit button to run on the server.
  • DOn the form, add an onSubmit handler that calls CheckCreditCard and cancels the form

Unlock 70-515 to see the answer

You've previewed enough free 70-515 questions. Unlock 70-515 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 70-515 Practice