Archive for May, 2017

jQuery Snippets: Using jQuery to Check All Boxes

When you've given your users a ton of┬ácheckbox input fields that they have to manually check themselves, it's always a nice gesture to give them the option to check all the boxes at once by simply selecting one "Check All" checkbox -- one box to rule them all. Not only does a check all checkbox […]
Read the rest of this entry »

3 Ways to Use jQuery to Detect AdBlock

Ad blocking software is becoming increasingly prevalent among internet users, for a number of reasons. The most important of which is that, often times, ads can really decrease a user's experience. They can be obnoxious, and they can be slow -- and not just slow down your webpage, but also a user's entire browser or […]
Read the rest of this entry »

Using jQuery to Count Child Elements

If you ever find yourself needing to know how many child elements an HTML element has, you're in luck, because there's a jQuery function for that. There are actually a few different ways you can go about doing this. The first is really simple and straightforward, and will count all the children elements of an […]
Read the rest of this entry »

Useful jQuery Code Snippets for Working with Images

Images are an essential part of any website and sometimes working with images for various functionalities can be quite challenging. However, if you know where to look you will often find that the feature you are trying to implement has already been created by someone else and is available for reuse. This post provides a […]
Read the rest of this entry »

Optimize Your jQuery Selectors for Best Performance

Optimize your jQuery selectors for best performance Introduction Over time, the data size has increased for nearly every application. Due to huge amount of data residing in various database servers, performance becomes the most important and integral part of any application. If the page takes lots of time to render the data, it creates a […]
Read the rest of this entry »

Drag and Drop HTML Table Rows Using jQuery

HTML tables are the preferred UI option for displaying data. Sorting, paging and searching/filtering are must-have functionalities for any HTML table with extensive data. These functions make HTML tables more user-friendly and efficient for the end user. In some cases one may require drag and drop functionalities for HTML table rows. Unfortunately, implementing drag and […]
Read the rest of this entry »

Responsive Menu
Add more content here...