-
-
Save davibusanello/2325689 to your computer and use it in GitHub Desktop.
Faster Element by ID Selector for jQuery
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Faster Element By ID Selector - @paddy2k*/(function($){$.id=function(id){return this(document.getElementById(id))}})($); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment