Category: jQuery


How to write a jQuery plugin?

What is jQuery plugin? A jQuery plugin is a simple method or a collection of methods that extends jQuery’s object. You can use and enable all jQuery objects and core methods in the methods...


jQuery: abort ajax request

The $.ajax method returns the xhr object, and you can call the abort method of it. Every time you create an ajax request you could use a variable to store it:

Then you...