It’s a common reference to a jQuery wrapped object. It makes reading the code easier to know which variables are jQuery wrapped.
//Item has been "cached" for later use in the script as a jQuery object.
var $item = $(this);
More Related Contents:
- How to use a variable for a key in a JavaScript object literal?
- How can I determine if a variable is ‘undefined’ or ‘null’?
- Variables set during $.getJSON function only accessible within function
- JavaScript Dynamic Variable Names
- jQuery ajax return value [duplicate]
- JSON to string variable dump
- html form that passes information to a variable in javascript [closed]
- Jquery if statement with two class conditions [closed]
- How to check if element is visible after scrolling?
- Comet and jQuery [closed]
- Selected text event trigger in Javascript
- How do I remove tinyMCE and then re-add it?
- Convert MySql DateTime stamp into JavaScript’s Date format
- Child element click event trigger the parent click event
- How to ONLY trigger parent click event when a child is clicked
- Extract all email addresses from bulk text using jquery
- jQuery min/max property from array of elements
- Performance difference between jQuery’s .live(‘click’, fn) and .click(fn)
- Redirect automatically when selecting an item from a select drop-down list
- Checking password match while typing
- Uploading multiple files asynchronously by blueimp jquery-fileupload
- How to pass variable value between different html pages in javascript
- Attach a blob to an input of type file in a form
- Combine two selectors with one jQuery object
- Pausing CSS animation with javascript and also jumping to a specific place in the animation
- How to hide optgroup/option elements?
- What is the new proper way to use a child selector with a context node in jQuery?
- How to include jquery.js in another js file?
- Determine distance from the top of a ‘div’ to top of the window with JavaScript
- How to use confirm using sweet alert?