Welcome To Snipplr


Everyone's Recent Snippets Tagged javascript



1 ... 20 21 22 23 24 ... 46
0 814 posted 14 years ago by rumremix
Put this in application layout for global use. Have a hidden div called 'loadicon' with a loading icon (or whatever) in it, which is shown/hidden on ajax calls.
0 998 posted 14 years ago by insanedreamer
JQ - detect users browser language using http headers via ajax jsonp ajaxhttpheaders
1 3160 posted 14 years ago by brandonjp
Great for use in site footers.
0 775 posted 14 years ago by batfan
This code works for me without requiring any includes, plugins, or service packs. It should also integrate seamlessly with jquery. If needing to perform this process more than once on a page, make sure namedListItem variable is unique for each case (...
0 1151 posted 14 years ago by rumremix
This code works for me without requiring any includes, plugins, or service packs. It should also integrate seamlessly with jquery.
0 1004 posted 14 years ago by rumremix
0 640 posted 14 years ago by genseric
HTML5 geolocation using the new HTML5 geolocation API, JavaScript and Google Maps. HTML5 geolocation detection is included. This will work in almost every modern browser except IE, but if your browser does not support it, it will tell you so. It will...
3 1119 posted 14 years ago by jonkemp
0 595 posted 14 years ago by silverskymedia
A light-weight solution for x-browser rounded corners solution, degrades gracefully back to square corners
0 832 posted 14 years ago by simon87ainley
1 792 posted 14 years ago by iroybot
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 1004 posted 14 years ago by stancox
Thanks to the original author.
1 807 posted 14 years ago by riddla
1 ... 20 21 22 23 24 ... 46