Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 22489

A JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.

13 votes
Accepted

Gmail Mouse Gesture

Why instantiate a jQuery object that you never even touch? Instead, you can attach your plugin as $.mousePointer = ... and call it as $.mousePointer(...). … The most common use of hungarian notation in javascript is to denote jQuery objects as opposed to vanilla DOM nodes ($this = $(this)). …
John Dvorak's user avatar
  • 1,228
12 votes
Accepted

null/undefined checking for checking seats

To test if a jQuery collection is empty, you can use seat.length === 0 or even ! seat.length. … I don't normally use hungarian notation, but I do use it for jQuery objects, especially when I'm dealing with native elements as well: $seat. …
John Dvorak's user avatar
  • 1,228