The amount of information on the Internet is constantly growing as well as the demands to web pages. Tricks and tools which seemed new and interesting a few years ago attract people no more, and even irritates them at times. That’s why web designers are constantly working on improving user experience, relying on the technological […]
Search: “javascript”
We found 189 results for your search.
While embedding JavaScript in an HTML and putting the script tags i.e. included in JavaScript, where is the best place? Let’s see what happens when browser loads a website: First it fetch the HTML. Starts persing the HTML. Encounters a <script> tag referencing an external script file. Browser requests the script file. Script is downloaded […]
Self-closing script tag are not supported by all browsers as this may contain inline code and HTML is not smart enough to turn that feature on or off. Let’s see two types of script tag. One is self-closing script tag which browsers do not correctly recognize. <script src=”myscript.js” /> And the another is, <script src=”myscript.js”></script> […]
In JavaScript, you can check whether a variable is undefined or null or blank or has a value defined in it. In JavaScript, ‘undefined’ means a variable has been declared but has not been assigned a value yet, such as: var a; console.log(a); //shows undefined console.log(typeof a); //shows undefined ‘null’ is an assignment value. This […]
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 […]
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> […]
Here are list of drupal interview questions and answers that will help prepare you for your next drupal interview ahead of time. Normally drupal interview questions start with some basic concept of the subject and later they continue based on the further discussion and what you answer. I have listed down few commonly asked Drupal […]
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. […]
Email HTML – Do’s and Don’ts
The do’s and don’t of email HTML formatting in email program to ensure an email design looks perfect and great across all email programs. We know that some email programs doesn’t support external CSS styles. There are no such standard method so that email program should support in each case. Each and every email program […]
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 […]