Header Ads Widget

Ticker

6/random

Introduction To JavaScript



Introduction To JavaScript

What is script?

Script is an interpreted program that runs on the client computer.It is written in scripting language.An interpreted language used to write scripts
is called scripting language .
Html is used to exchange information over the Internet.It provides little or no control over a web page once it is displayed in the browser.IT is not posssible to interact with the
in the HTML.Moreover, the contents of an HTML document are static.Scripting is a method that can be used to create dynamic pages

Server based scripts 

Client side scripts Server Side Scripts
Server side scripts are stored and executed on servers. These scripts are used provide user interaction. Data from the
client machine is sent to the web server.Server sice scripts process the request and send the required page to the client browser.

Client Side Scripts

Client side scripts are executed on client computers. The browsers support the scripts.These scripts can be emvedded in HTML
documents.The browser interprets executes the code embedded in the page.
Scripts can be used to change the content or style of a web page in response to user imput.If the application is database
oriented ,scripts canbe used to validate the data entered by the user before it is sent to the server for processing. For example, a client-side script can verify if the user has entered
data in all the required fields before the form is submitted to the server for processing.

JavaScript

Java script is an interpreted language that is used to add dynamic contents in web pages. Interpreted means that the entire webpage is downloaded to the browser and the interpreted one line at a time.
Java Script is used to include messages, scrolling text, animations, menus, pop-up windows etc.JavaScript is directly embedded
in HTML .
Java Script was developed by Sun Microsystems and Netscape Communicato.It is an open language.It can be used without purchasing.Netscape supports JavaScript It can be used without purchasing.

Post a Comment

0 Comments