PrepAway - Latest Free Exam Questions & Answers

Which of the following statements correctly defines client-side scripting?

Which of the following statements correctly defines client-side scripting?

PrepAway - Latest Free Exam Questions & Answers

A.
It refers to the scripts that are executed on the Client Server instead of on the Web server.

B.
It refers to the scripts that are executed on the DOM instead of on the Web server.

C.
It refers to the scripts that are executed on the Web browser instead of on the Web server.

D.
It refers to the scripts that are executed on the Java Virtual Machine instead of on the Web
server.

Explanation:
Client-side scripting refers to the scripts that are executed on the Web browser instead of on the
Web server. Client-side scripting is used to make a Web page interactive and dynamic. It enables a
user to respond to the events fired by him on the objects that he can see on the Web page. The most
important part of client-side scripting is form validation, which helps a script writer to create a form
and abort the users from entering wrong data. If a user fills in the wrong data in a field, the dialog
boxes can warn him for the error and request him to correct it.
Answer B, D, and A are incorrect. Client-side scripting refers to the scripts that are executed on the
Web browser instead of on the Web server.


Leave a Reply