X

All posts in: JQuery

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 ...

How to Use jQuery to Check if Cookies are Enabled

A cookie (not the kind with chocolate chips) is a small piece of data sent by a website and stored in a user’s computer by their web browser. Cookies are used mainly to store data about you as an internet user and what types of pages you ...

A Beginner’s Guide to jQuery’s Selectors

We talk a lot about event methods on this site, but not so much about jQuery’s selectors. Selectors in jQuery are actually similar in a lot of ways to selectors in CSS. For example, when you want to select an ID, you precede it with the ...

Add Keyboard Shortcut to Anchor Tag Using jQuery

Making a user friendly website can be quite a challenging task. There are many areas where user interactions can improve and become friendlier. One area that can almost always be improved is navigation, and one great way to do this is by adding ...

How to Use jQuery’s Keystroke Methods

jQuery has a few built-in keystroke methods that are all triggered by different stages of keys being pressed on a user’s keyboard. If you want to be able to keep track of how many keystroke a user makes, or if you want an event to be ...

Page 2 of 2112345...1020...Last »