Subscribe: Learning jQuery
Added By: Feedage Forager Feedage Grade A rated
Language: English
click event  click  disable  elements  enable  event  input field  jquery parsejson  jquery  json parse  json  method jquery  method  show hide 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Learning jQuery

Learning jQuery

Tips, techniques, and tutorials for the jQuery JavaScript library

Last Build Date: Tue, 17 Jan 2017 03:46:07 +0000


Show/Hide HTML Elements Using jQuery

Tue, 17 Jan 2017 03:46:07 +0000

jQuery’s .show() and .hide() methods can be used to show or hide any HTML elements on a page. Usually, the methods are used as the results of a trigger event (for example, if an item is either hidden or shown based on a click event) or used with a timer function so that something hides […]

jQuery’s .fade() Method

Sat, 07 Jan 2017 20:26:08 +0000

In jQuery, there several different methods that can be used to make an element fade in and out of view. They are: .fadeIn(), .fadeoOut(), .fadeToggle(), and .fadeTo(). .fadeIn() and .fadeOut() are pretty self explanatory. When triggered, it is used to have items either fade in or fade out, respectively. .fadeToggle() is used to toggle between […]

How to Use jQuery’s .one() Method

Sun, 01 Jan 2017 16:06:11 +0000

jQuery’s .one() method is a really cool method that, when used, will trigger a function attached to a certain selector or element only once. Normally with jQuery methods, they will occur as many times as the trigger event is triggered, but when you use the .one() method, the code that it’s attached to only gets […]

Using jQuery to Check All Boxes

Mon, 26 Dec 2016 15:58:46 +0000

If you want to include a “check all” option in any of your projects, it’s actually pretty easy to do using jQuery. The snippet below demonstrates how to include a check all button that will check all of the inputs that fall within one fieldset tag. To start, make sure your HTML looks something like […]

5 Awesome Free jQuery Calendars for Your Next Project

Sun, 18 Dec 2016 19:04:31 +0000

There are so many free jQuery calendar projects out there that it can definitely be overwhelming when it comes to choosing one to include in your next project, which is why we’ve compiled this handy list of hand-picked FREE and lightweight jQuery calendar plugins. Each plugin on this list is easy to install, user-friendly, and […]

jQuery Snippet: Enable Submit if Input Field has Value

Sun, 11 Dec 2016 22:07:03 +0000

A cool thing that jQuery allows you to do is enable and disable certain elements based on particular conditions. The following snippet shows you how to enable a submit button that has been disabled if text has been entered into an input field. If the input field has a value, then the form can be […]

jQuery.parseJSON vs JSON.parse

Sun, 04 Dec 2016 21:05:46 +0000

JSON.parse() and jQuery.parseJSON(), both are used to parse a JSON string and returns resulting JavaScript value or object described by the string. jQuery.parseJSON() is available only when jQuery library is used where JSON.parse() is JavaScript’s standard built-in JSON object method. So the question is if jQuery library is used, then which one should be used […]

Snippets: Disable Scroll Using jQuery

Sat, 26 Nov 2016 17:24:07 +0000

Most developers probably wouldn’t want to disable scroll on their pages, but of course, there are always exceptions to any rule, and there are a number of reasons that scroll may need to be disabled. It could be for design or functionality reasons, or it could just be the result of a click event or […]

jQuery: Enable Click Event for Some Anchor Elements

Sun, 20 Nov 2016 11:46:25 +0000

jQuery provides a very easy way to disable click events for any DOM element. And you can also disable click event for all Dom elements with few lines of code. But then what if you want to enable click event for some elements? For example, if a click event is disabled for all anchor elements, […]

jQuery’s .attr() Method

Sun, 13 Nov 2016 12:43:09 +0000

In jQuery, the attribute or .attr() method is used to set the attributes values of selected elements. It works similarly to the .css() method, except with .attr(), you're not setting or changing the style rules, but the inline HTML attributes of a particular element. Common HTML attributes that can be altered are width and height, […]