Wednesday 11 February 2015

Introduction of JavaScript

Introduction of JavaScript

Javascript is the client side scripting language, developed by netscape, used along with HTML to build an efficient web site / webpage.

JavaScript is not a programming language in strict sense. Instead, it is a scripting language because it uses the browser to do the dirty work. If you command an image to be replaced by another one, JavaScript tells the browser to go do it. Because the browser actually does the work, you only need to pull some strings by writing some relatively easy lines of code. That’s what makes JavaScript an easy language to start with.

In the beginning stages, web pages were developed only using html which are nothing but static pages. User interaction and dynamic changes are not possible with html. With the advent of scripting languages, the problem was solved. There are two types of script languages - server side and client side.

When a page is requested, the request is sent to the server and data is fetched and viewed in the browser.


Java script codes are embedded in HTML files. Whenever a browser requests for a webpage, the HTML file along with script is transferred to the browser. This tutorial will give you an introduction and help you learn java script.

JavaScript is used to create dynamic changes, validate forms, detect visitor details, create/use cookies, etc.. JavaScript works in all major browsers such as Internet Explorer, Mozilla, Firefox, Netscape, Opera, Safari and more.


No comments:

Post a Comment