Archive for February, 2017

How to Use jQuery’s .not() Method

jQuery's .not() method is a method that allows you to return elements that do not match a particular criteria. Normally in jQuery, we use selectors to deliberately choose elements and apply jQuery code to them. Using the .not() method, however, we can choose every element except a specific element or type of elements to apply code to. […]
Read the rest of this entry »

5 jQuery Auto Complete Plugins

Auto Complete is a really useful functionality that most of us have probably used many times before. The way it works is that when you start typing into an input field (a search field, for example), it offers you suggestions to complete your search query -- either words or phrases that might complete what you […]
Read the rest of this entry »

How to Use jQuery’s .delay() Method

jQuery's .delay() method is one that can be used, probably quite obviously, to delay code from being executed. In particular, it can be used to make certain actions or animations last longer because the code is delayed. As a developer, there are a bunch of different reasons that you might want to use a delay. […]
Read the rest of this entry »

jQuery Snippets: How to Add/Remove Classes After Delay

In your projects, there can often be instances of wanting to change something (color, size, font family, etc) about an element, but only after a certain amount of time has passed (the time passed can be anywhere from a millisecond to ten minutes to ten hours if you like -- its completely up to you and […]
Read the rest of this entry »

7 Best Lightweight jQuery Data Table Plugins

Creating grids and tables for storing, organizing, and interacting with data and content can be done using HTML, but they can also be created quickly, easily, and more dynamically by using a jQuery plugin to get the job done. Check out the following list of some of the best, most lightweight jQuery grid plugins available. […]
Read the rest of this entry »

How to Use JavaScript to Detect Devices

The great thing about JavaScript is how it enables you to dynamically make changes to your code based on certain events or conditions. One such condition that might cause you to want to make changes to  your code (or at least some slight modifications) is which type of device is being used to view your […]
Read the rest of this entry »