Tuesday 23 May 2017

What is JavaScript?

In this post, I will explain What is JavaScript?

JavaScript is a programming language used along with HTML to make web pages interactive. It runs on the client computer and doesn't require constant downloads from server. JavaScript support is built right into all the major web browsers, including Internet Explorer, Firefox and Safari. To run JavaScript client browser should support JavaScript and have JavaScript enabled. JavaScript enables a web page to do more than just displaying static information. JavaScript is probably involved in displaying timely content updates, interactive maps, animated 2D/3D graphics or scrolling video jukeboxes etc.

A simple example would be if we wish to perform some simple calculations (such as shipping costs) on values that a user puts in a form. We could make the user posts data to the server every time they want an answer, or we could have a button the execute a JavaScript calculation and display the answer to the user.

Advantages of JavaScript-

The advantages of using JavaScript are,
  • Less Server interaction
  • Increased user interactive capabilities
  • Rich User Interfaces
  • Easy to Debug and Test
  • Platform Independence
  • Event-Based Programming

Uses of JavaScript-

Some important uses of JavaScript are,
  • Input Validation
  • Popup Windows
  • Dynamic Contents
  • Mouse Rollover Effects

0 comments:

Post a Comment

Please do not enter any spam link in the message box.