Anamika Gupta

Web APIs – Introduction

A Web API has below features: It can be used to extend the functionality of the browserIt can be used to simplify the complex functionsIt can provide easy syntax to complex code What is Web API? API stands for Application Programming Interface.A Web API...

JSON – Introduction

JSON stands for: JavaScript Object Notation. JSON is a syntax for storing and exchanging data. JSON is text, written(in key value pair) with JavaScript object notation. What is JSON? JSON stands for JavaScript Object NotationJSON is a lightweight...

AJAX Introduction

AJAX is the very useful in the development because by using ajax a developer can: Read data from a web server - after the page has loadedUpdate a web page without reloading or refreshing the pageSend data to a web server - in the background(fire the request in...

BOM Cookies (JavaScript Cookies)

Cookies are used to store user information in web pages. What are Cookies? Cookies are data, stored in small text files, on your computer. When a web server has sent a web page to a browser, the connection is shut down, and the server forgets everything about the...

BOM Timing (Timing Events)

JavaScript has timing events as it can be executed in time-intervals. Timing Events The window object allows execution of code at specified time intervals. The below two key methods in javascript: setTimeout(function, milliseconds)Executes a function, after...

BOM Popup Alert (Popup Boxes)

JavaScript has three kind of popup boxes: Alert boxConfirm boxPrompt box Alert Box An alert box is generally used if you want to make sure information comes through to the user. When an alert box pops up, the user will have to click "OK" to proceed....

BOM History (Window History)

The window.history object contains the browsers history. Window History The window.history object can be written without the window prefix. To protect the privacy of the users, there are ample number of limitations to how JavaScript can access this...

BOM Location (Window Location)

The window.location object can be used to fetch the current page address (URL) and to redirect the browser to a new page. Window Location The window.location object can be written without the window prefix. Some below examples are used to get window location...