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
1526
posted 15 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
3798
posted 15 years ago by brandonjp
Learn how to track outgoing links in Google Analytics with jQuery.
2
1466
posted 15 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
1204
posted 15 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
1126
posted 15 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
1289
posted 15 years ago by iqwebdev
Very easy way to preload images which are needed later (e.g. when a hover is performed)
4
1380
posted 15 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
1479
posted 15 years ago by stancox
jQuery
js - jQuery - jQueryLoader - check if $ is undefined, then load jquery with pure javascript if needed
0
1540
posted 15 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
2018
posted 15 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
1454
posted 15 years ago by crispunk
forms part of our Calibre Remote. an alternate gui for calibre ebooks content-server.
0
910
posted 15 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
1198
posted 15 years ago by minky