Categories
Html5 jQuery

Top 5 jQuery HTML5 Audio Players

Top 5 jQuery HTML5 Audio Players based on free and open source (MIT) media library which is written in JavaScript library. All these jQuery HTML5 Audio Players plugin allows you to rapidly weave cross platform audio and video into a web page. 1. HTML5 jQuery Music Player This is a matching jQuery plugin for music […]

Categories
jQuery

Move an element into another element in jQuery

Move the HTML content (including all children) of one element into another element with the help of jQuery. So, let’s see how to move an element into another element. Suppose, you want to move one DIV element inside another div. For example, this div element: <div id=”sourceDiv”> … </div> Into this: <div id=”destinationDiv”> … </div> […]

Categories
jQuery

Getting all element attributes values in jQuery

Here is little example of getting element attributes values with the help of jQuery and store them in an object. The element’s attributes property is incredibly handy when we want to see what attributes are present in the element without explicitly knowing which to look for. The attributes property provides an easy level of dynamism. […]

Categories
Javascript

Getting Started with Handlebars JS

Handlebars js is a popular templating engine which is simple to use, powerful and has a large community based on the Mustache template language. Using this, you can write cleaner code and separate the generation of HTML from the rest of your JavaScript. Written in JavaScript language, Handlebars JS is a compiler which takes any […]

Categories
Javascript

Date Object – JavaScript

The Date object is a datatype that is used to work with dates and times which is built into the JavaScript language. Date objects are created with the new Date() that represents a single moment in time. Once a Date object is created, you can allow a number of methods to operate on it. This […]

Categories
Javascript

JavaScript Arrays

The JavaScript Arrays object is a global object that is used to store multiple values in a single variable. The JavaScript Arrays object is a global object that is used to store multiple values in a single variable i.e. collection of elements. Syntax: var cars = [ “Fiat”, “BMW”, “Nissan” ]; Note: Never put a […]

Categories
jQuery

5 Free jQuery Scroll to top Plugins

There are free jQuery Scroll to Top plugin which is a small piece of code that lets you add a scroll to top button at the bottom right of your web page. This will enable your website visitors to scroll easily back to the top of the page while they are browsing. The “scroll to […]

Categories
Javascript

Detect Browser in JavaScript

To detect browser in JavaScript, window.navigator object contains information about the user’s browser i.e. Firefox, Internet Explorer, Opera, etc. JavaScript has a standard object called navigator which contains data about user’s browser. It has a lot of properties. JavaScript window.navigator object can be written without window prefix. For example, navigator.appName navigator.appCodeName navigator.platform Browser detection is […]

Categories
Javascript

JavaScript Objects Overview

JavaScript is an Object Oriented Programming i.e. OOP language. It provides four basic capabilities i.e. Encapsulation, Aggregation, Inheritance and Polymorphism. For example as a car. It has properties like weight and color and and methods like start and stop. So, all cars have same properties, but the values differ from one car to another. Object […]

Categories
Javascript

JavaScript Browsers Handling

In this tutorial, you can get knowledge of JavaScript Browsers Handling or Compatibility and how to handle JavaScript in different browsers. Before applying JavaScript, we need to know the differences between different browsers and how they can be handled in different way. You can use built-in navigator object to get the information about the browser […]