Get Last Segment of URL in JavaScript

JavaScript handles strings and arrays very well. Sometime its needed to get the last segment or file name of the current page URL and process it for another JavaScript/Ajax request. Here, I...

JSON Overview

JSON (JavaScript Object Notation) is the light weight data interchange format like XML i.e like the XML it’s also platform independent and its great alternative to XML due to followings: ...

Object Oriented Programming with JavaScript

The Object Oriented web application can be written by using JavaScript. JavaScript supports inheritance as well as re-usability and encapsulation. Unlike other programming languages (JAVA, C++, PHP etc), JavaScript doesn’t contain...