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 …
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 …
JavaScript Array Object
Array is an group of element which is stored in a single object variable. If you have list of values of same type, then all the values can be stored in a array object with the index pointing to each value. All the elements in the array would be in the same type. The values …
JavaScript – Difference Between Two Dates
Let us see an example on how calculate difference between dates using Javascript. First write a HTML code with Javascript as below: The above program is used to calculate the days of difference between two dates . we have set two dates to two variables in the program var d1 = new Date(“12/12/2011”); and var …