JavaScript Elements Placements

js-thumbnail

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

js-thumbnail

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

js-thumbnail

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

js-thumbnail

A cookie is a small object allows servers to store user’s information on user machine. Cookies are stored in the partition assigned to the web server’s 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

js-thumbnail

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

js-thumbnail

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 […]

Custom Objects in JavaScript

js-thumbnail

Custom objects are user-defined object where user can create its own object and it behaves exactly how the user wants it. We can create object by using the following steps: We can define an object by using an object function. Later on, instantiate new object by using “new” keyword. JavaScript Custom Object Syntax Where, userobject: […]

Timers in JavaScript

js-thumbnail

JavaScript supports the timing events. You can execute a method or code in the given time intervals. Timer methods are common in every programming language and it helps in scheduling the events at future defined time. There are two types of Timer methods. setInterval() setTimeout() These methods are used to execute code at specific amount of […]

Alert Messages in Javascript

js-thumbnail

Alert message box in JavaScript is used for sending the message to the user or taking the input from the user for the further processing of pages. Alert messages are one of the key part of the JavaScript programming. There are three types of popup boxes: Alert box Confirm box Prompt box. Alert Dialog Box in […]

JavaScript Array Object

js-thumbnail

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 […]

Note the Basic Spring Security Example addressed here. At the same time, also note the other security setup related items seen at this site. Additional security information may be found on Google if you have a moment to surf.
Close
Please support the site
By clicking any of these buttons you help our site to get better