Wednesday, 4 May 2016

Javascript introduction And what is Javascript -- Telugu 01

JavaScript is most commonly used as a client side scripting language. This means that JavaScript code is written into an HTML page. When a user requests an HTML page with JavaScript in it, the script is sent to the browser and it's up to the browser to do something with it.Javascript introduction And what is Javascript -- Telugu 01

Javascript is a scripting language that will allow you to add real programming to your webpages.

You can create small application type processes with javascript, like a calculator or a primitive game of some sort.

However, there are more serious uses for javascript:

    Browser Detection
    Detecting the browser used by a visitor at your page. Depending on the browser, another page specifically designed for that browser can then be loaded.

    Storing information on the visitor's computer, then retrieving this information automatically next time the user visits your page. This technique is called "cookies".

    Control Browsers
    Opening pages in customized windows, where you specify if the browser's buttons, menu line, status line or whatever should be present.

    Validate Forms
    Validating inputs to fields before submitting a form.
    An example would be validating the entered email address to see if it has an @ in it, since if not, it's not a valid address.

No comments:

Post a Comment