Get Started

Introduction to JavaScript

JavaScript is a popular and versatile programming language which is a major subject within web development.

Using JavaScript on the webpages, it gives great interaction with the user. It can be used on many different subjects. You can use it to validate user inputs, make great animations, prevent page postbacks using ajax calls and there are many more we will be mentioning detailed in our following posts.

What can be done with JavaScript

I can not think of a webpage which is not using a javascript. It adds great value to the page. Let's see what we can achieve with Javascript

* Add/Modify/Delete html content
* Show/Hide panels
* Capturing user events and applying different actions
* Via using ajax calls, Data from server can be retrieved without refreshing the page (postback). This converts the simple webpage into rich application.
* Cookies can be read/update
* Generating animations will impress visitors


What cannot be done with JavaScript

As it is a browser based scripting language, it has some limitation. These limitations is to secure your machine/environment.

* It has limited access to local resources
* You can not read data from a different domain your page currently unless the servers allow to data exchange between these two domains