Welcome To Snipplr
Everyone's Recent jQuery Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
jQuery
jQuery dynamic loader - load jquery using pure js javascript if jQ is undefined or does not exist
0
1016
posted 14 years ago by brandonjp
jQuery
js javascript browser language detection, get the user\'s browser\'s language preference setting using jquery to detect users br
JQ - detect users browser language using http headers via ajax jsonp ajaxhttpheaders
1
2843
posted 14 years ago by brandonjp
Learn how to track outgoing links in Google Analytics with jQuery.
2
1015
posted 14 years ago by neal_grosskopf
This will automatically tag external links and prefix the URL with '/outgoing' for tracking in Google Analytics. The pageTracker is assumed to be added to the page elsewhere in the markup. By default it is applied to all links contained in the BODY t...
0
812
posted 14 years ago by rgsmith007
Just a quick script to enable default text within a form element to be cleared or restored upon focus/blur of a particular element.
Should give you roughly the same functionality as the new HTML5 webforms "placeholder" attribute.
0
759
posted 14 years ago by scheurbert
A jQuery snippet to make form inputs show a help message which disappears on click (and comes back when the user enters nothing). Give your input the classes ‘remember’ to activate the snippet and (optionally) ‘unfocused’ as a CSS hook for ch...
2
715
posted 14 years ago by iqwebdev
Very easy way to preload images which are needed later (e.g. when a hover is performed)
4
980
posted 14 years ago by iqwebdev
Related Categories: jQuery, Tips
We've all heard the best practices recommendation to load jQuery (or other JavaScript libraries) from a CDN, such as Google's for performance reasons. But what happens if, in the rare chance, Google's network is do...
2
932
posted 14 years ago by stancox
jQuery
js - jQuery - jQueryLoader - check if $ is undefined, then load jquery with pure javascript if needed
0
1058
posted 14 years ago by brandonjp
This is a simple way to scroll to the top of the page, when an anchor tag has been clicked. Note that we must "return false," in order to disable the default browser action.
1
1509
posted 14 years ago by Nettuts
If you are working on apps development to adapt on different sites that you don't have access to them, and need to load Jquery, but don't wanna load it twice this will help you !
3
976
posted 14 years ago by crispunk
forms part of our Calibre Remote. an alternate gui for calibre ebooks content-server.
0
590
posted 14 years ago by minky
## PWToggleAttr
This jQuery Plugin allows you to toggle an attribute on/off on an element. e.g. the disabled element of an input. Examples and such are available on http://www.pixaweb.co.uk/resources
0
794
posted 14 years ago by minky