Describe about Client-side script with detailed and also with suitable images.
What do you understand by client-side JavaScript?
164611-Jun-2020
Updated on 11-Jun-2020
Home / DeveloperSection / Forums / What do you understand by client-side JavaScript?
Describe about Client-side script with detailed and also with suitable images.
Shrikant Mishra
19-Aug-2020Server-side and Client-side Programming
The Server-side Programming concept :
These are the program that runs on server dealing with the generation of content of web page.
Some Examples :
These are Programming languages for server-side programming are :
The Client-side Programming :
These are the program that runs on the client machine (browser) and deals with the user interface/display and any other processing that can happen on client machine like reading/writing cookies.
These are the Programming languages for client-side programming :
Nishi Tiwari
11-Jun-2020The Client-side JavaScript is one of the most common form of the language. These scripts must be included in an HTML document so that the code is to be interpreted by any browser.
This meant that the web pages need not be a static HTML, but they can include programs that interact with the user, also control the browser, and dynamically create the HTML content.
Using of JavaScript client-side mechanism provides many advantages over traditional CGI server-side scripts. For example, they might use JavaScript to check whether the user has entered a valid e-mail address or not in a form field.
This JavaScript code is executed when the user submits the form, and it can only be submitted to the Web Server ,if all the entries are valid.
JavaScript can be used to trap the user-initiated events like button clicks, link navigation, and other actions which users initiates explicitly or implicitly.