More Website Templates @ TemplateMonster.com. December10, 2011!
Click here to register

Javascript

                                          JavaScript is a new scripting language which is being developed by Netscape. With JavaScript you can easily create interactive web-pages that can handle calculations,controls such as displaying certain information when certain values provided,validate forms, and more without whole lot of programming effort.An interactive element is one that responds to a user's input. This tutorial shows you what can be done with JavaScript - and more importantly how it is done. Javascript is the most popular language on the internet,and works in all major browsers,such as Internet Explorer,Firefox,Opera.
    JavaScript is a Client-Side Scripting language. A Scripting language is a light weight programming language. A Javascript consists of lines of executable computer code. A Javascript is usually embedded directly into HTML code. Javascript is an interpreted language(means that scripts execute without preliminary compilation).Everyone can use Javascript without purchasing license.

    JavaScript is not Java! Many people believe that JavaScript is the same as Java because of the similar names. This is not true though. I think it would go too far at the moment to show you all the differences – so just memorize that JavaScript is not Java.

    Uses Of JavaScript Javascript gives HTML designers a programming tool - HTML authors are normally not programmers,but Javascript is a scripting language with a very simple syntax!Almost anyone can put small “snippets” of code into their HTML pages. Javascript can put dynamic text into an HTMl page- A Javascript statement like this: document.write(“”+name+””) can write a variable text into an HTML page. Javascript can react to events- A Javascript can be set to execute when something happens,like when a page has finished laoding or when a user clicks on an HTML element.Javascript can read and write HTML elements – A Javascript can read and change the content of an HTML element. Javascript can be used to validate data – A Javascript can be used to validate form data before it is submitted to a server.This saves the server from extra processing. Javascript can be used to detect the visitor's browser -A Javascript can be used to detect the visitor's browser,and depending on the browser -load another page specifically designed for that browser. Javascript can be used to create cookies – a Javscript can be used to store and retrieve information on the visitor's computer.

    Running JavaScript What is needed in order to run scripts written in JavaScript? You need a JavaScript-enabled browser - for example the Netscape Navigator (since version 2.0) or the Microsoft Internet Explorer (MSIE - since version 3.0). Since these two browsers are widely spread many people are able to run scripts written in JavaScript. This is certainly an important point for choosing JavaScript to enhance your web-pages.Of course you need a basic understanding of HTML before reading this tutorial. You can find many good online ressources covering HTML. Best you make an online search for ’html’ at Yahoo in order to get more information on HTML. JavaScript was formalized in the ECMAScript language standard and is primarily used as part of a web browser (client-side JavaScript). This enables programmatic access to computational objects within a host environment.

    Birth at Netscape
    JavaScript was originally developed by Brendan Eich. Battling with Microsoft over the Internet, Netscape considered their client-server offering a distributed OS, running a portable version of Sun Microsystems' Java. Because Java was a competitor of C++ and aimed at professional programmers, Netscape also wanted a lightweight interpreted language that would complement Java by appealing to nonprofessional programmers, like Microsoft's Visual Basic .

    Server-side JavaScript
    Netscape introduced an implementation of the language for server-side scripting (SSJS) with Netscape Enterprise Server, first released in December, 1994 (soon after releasing JavaScript for browsers). Since the mid-2000s, there has been a proliferation of server-side JavaScript implementations. Node.js is one recent notable example of server-side JavaScript being used in real-world applications.


 

Copyright 2013 byWinways Infomatics

Site Designed and Maintained by Lampteam

contact no :91-452-4394466, 9944476500,9500093400