In my previous posts, I have explained about few of the topics on NodeJS web application framework ExpressJS. Please read the topics: REST using ExpressJS, Working with MongooseJS and CRUD operations using MongoDB and NodeJS. This post uses various combination on frameworks and shows you how to SignIn with Twitter using Node.js and Express.js frameworks. Accessing the social …
JavaScript Tutorials
How To Enable JavaScript In Browsers
Following sections will detail about how to enable Javascript in your browser. Enabling JavaScript in Google Chrome On the web browser ,select Customize and control Google Chrome with 3 horizontal lines to the right side of the address bar. Click on Settings and at bottom of the page ,click on Show advanced settings Click on …
JavaScript Elements Placements
Javascript can be written internaly (in the program) or externally. These two are discussed in detail in the following sections. Internal JavaScript Code JavaScript code is written inside the html page. The script code can be written in html page either in <head> , <body> or in both <head> and <body< section. The JavaScript code …
How To Preload Images In JavaScript
Usually high resolution images can really slow down the website. images are loaded only after an HTTP request is sent for them, either passively via an <img> tag or actively through a method call. Preloading images comes to our rescue which means loading an image into cache before being used. The simplest way to preload …
JavaScript History Object
The History object is read only property which includes browser’s history and information about the URL’s visited by the user. It provides methods and properties for manipulating browser session history. This object can be written without the window prefix. The History object doesn’t allow the non-privileged code in the history but allows navigating the session …
How To Test Cookie Support using JavaScript
A cookie is a small object allows servers to store users information on user machine. Cookies are stored in the partition assigned to the web servers domain. All cookies for that domain are sent in every request to that web server. When a user visits a page, his name can be stored in a cookie. …
How To Check Plug-In Support In Browser using JavaScript
A plug-in is a piece of software or module which acts as add-on or extension to a web browser and adds additional functionality to existing software application. There are programs which can be installed easily and used as part of the web browser. It allows web browser to display additional content and enables customization when …
How To Detect Browser using JavaScript
Browser compatibility is one of the key challenge for implementing the JavaScript functions. There are number of objects and methods which are not part of the standard and supported by the browsers which are not commonly used across all the browsers. If you take an example of AJAX calls, this functionality has to be implement …