What do you understand by a client script? What is its usage?

DWQA QuestionsCategory: QuestionsWhat do you understand by a client script? What is its usage?
Editor Staff asked 2 months ago

What do you understand by a client script? What is its usage?

1 Answers
Editor Staff answered 2 months ago

Client script resides on the client-side or the browser and runs on the client-side only. It allows the system to run when client-based events occur, such as when a form loads, after form submission, or when a field changes value.
Following are the different types of client script:
OnLoad()
OnSubmit()
OnChange()
OncellEdit)