Categories
jQuery

jQuery bind() and unbind() – attaching event handlers

jQuery bind() function is used to attach one or more event handler to elements, while the unbind() is used to removes an existing event handler from elements. As of jQuery version 1.7, jQuery on() method is the preferred method rather than jquery bind and unbind for attaching event handlers for selected elements. bind() : A basic […]

Categories
jQuery

Using Delegate and Undelegate in jQuery

Using delegate and undelegate in jQuery, you can bind or remove a handler from the event for all elements that matches the current selector. Basically, these methods achieve the same thing as the jQuery .live() and .die() methods but they just use a different syntax. Syntax of Delegate: $(selector).delegate(childSelector,event,data,function) Example of jQuery Delegate: $(“table”).delegate(“td”, “hover”, […]

Categories
Creative blog Technology

5 Free Tools For Real Time Website Visitors Tracking

Use these 5 online free tools for real time website statistics and how many visitors are on your website right now. Website visitor tracking software basically works by installing a script on your site which collects the website visitor data directly. Website Visitor Behavior Tracking Software. Web site visitor tracking gives us detailed understanding of […]

Categories
jQuery

Include multiple js files using jQuery $.getScript() method

The jQuery getScript() method is used to Include multiple js files i.e. load and execute a JavaScript from the server using an AJAX HTTP GET request. The method returns XMLHttpRequest object and the callback is fired once the script has been loaded, but not necessarily executed. Syntax of getScript: $(selector).getScript(url,success(response,status)) $.getScript( “test.js”, function( data, textStatus, […]

Categories
WordPress

Top 5 most popular wordpress plugins

Are you looking for the most popular WordPress plugins used by WordPress experts? Good, you’re in the right place now. Here, in this article, we have discussed the best WordPress plugins for using. Choosing the best WordPress plugin for your site will help to make your website load faster and deliver a better solution for […]

Categories
Technology

Web 2.0 vs Web 3.0 – Know the Difference

The term Web 3.0 i.e. semantic Web describes the sites where computers will be generating raw data on their own i.e. the next logical step in the evolution of the Internet. Let’s see the difference between Web 1.0 vs Web 2.0 vs Web 3.0. Web 1.0 Web 1.0 sites are basically content driven and the […]

Categories
MySQL

MySQL GROUP_CONCAT() maximum length

Here in this tutorial, you will learn how you can use the MySQL GROUP_CONCAT() function to concatenate strings from a group with various options. There are many cases where you can apply the GROUP_CONCAT() function to produce useful results. In MySql, GROUP_CONCAT() is used to convert multiple rows into a single string. However, the maximum length […]

Categories
Javascript

Difference between call and apply in JavaScript

One of the very common thing which confuse you while writing JavaScript is knowing when to use “call” and when to use “apply”. Let’s look at following example: var person1 = {name: ‘John’, age: 52, size: ‘2X’}; var person2 = {name: ‘Jane’, age: 26, size: ‘5X’}; var sayHello = function(){ alert(‘Hello, ‘ + this.name); }; […]

Categories
jQuery

.empty() vs .remove() vs .detach() – jQuery

jQuery provides various methods to remove elements from DOM i.e. .empty(), .remove() and .detach(). So lets find out the difference between jQuery .empty(), .remove() and .detach() method. .empty(): jQuery .empty() method removes all the child element of the matched element where remove() method removes set of matched elements from DOM. $( “.content” ).empty(); remove(): jQuery […]

Categories
jQuery

Abort Ajax requests using jQuery

Using jQuery abort() you can cancel a running AJAX request forcefully before it ends as this hits several times within a short time period. This is usually in cases where the user might perform an action, based on AJAX request several times within a short time period. For example, There is a auto-complete functionality for […]