Popular Post: JavaScript

JavaScript Window History

The window.history object contains the browsers history. The history.back()/history.forward() method loads the previous/Next URL in the history list.

JavaScript Popup Alert Box

JavaScript Popup Alert box are used show some information to the user. JavaScript has three popup box: Alert box, Confirm box, and Prompt box.

JavaScript Timing Events

JavaScript can be executed in time-intervals with the help of setTimeout() and setInterval(). These time intervals are called timing events.

JavaScript Cookies

Cookies are used to store user information in web pages. when user visit web page, cookies can store data about user.

Web APIs Introduction

API stands for Application Programming Interface. It is used to extend the functionality of web browser and web server.

Web History API

Web History API provides methods to access the window.history object that contains the URLs of websites visited by the user.

Web Storage API

The Web Storage API is used for storing and retrieving data in the browser using localStorage.setItem() and localStorage.getItem() method.

Web Workers API

Web Workers API is a JavaScript runs in background without affecting other task of the page. To terminate a web worker use the terminate() method.

JavaScript Fetch API

The Fetch API interface allows web browser to make HTTP requests to web servers without using XMLHttpRequest.

Web Geolocation API

HTML Geolocation API is used to get the geographical position of users. Its locate user position once user approves it.

AJAX Introduction

AJAX is an acronym for Asynchronous JavaScript and XML. AJAX allows web pages to be exchange data with a web server using JavaScript.

AJAX XML File

In this tutorial, we will learn how to connect with XML file to get information from that file using AJAX.

AJAX Php

In this tutorial, we will learn how to connect with other PHP file to get information from that file.

AJAX Database

In this tutorial, we will learn how to communicate to Database using AJAX to get data from database.

JSON Introduction

JSON stands for JavaScript Object Notation. JSON is a text format for storing and transporting data on web server.

JSON Syntax

In JSON, data is represented in name/value pairs. Curly braces hold objects and the name/value pairs are separated by commas.

JSON vs XML

JSON object has a type whereas XML data is typeless. XML has to be parsed with an XML parser. JSON can be parsed by a standard JavaScript function.

JSON Data Types

In JSON, values must be a valid data types such as string, number, object, array, boolean or null.

JSON parsing

JSON parsing method JSON.parse() is the process of converting a JSON object in text format to a Javascript object.