Welcome To Snipplr


Everyone's Recent JavaScript Snippets Tagged javascript



1 ... 19 20 21 22 23 ... 33
from this page: http://dreaminginjavascript.wordpress.com/2008/08/22/eliminating-duplicates/
0 1576 posted 16 years ago by keith
url: http://www.example.com/?foo=bar usage: $_GET['foo'] // 'bar'
0 1141 posted 16 years ago by nate63179
Let you fire click events on any html element.
1 2033 posted 16 years ago by ginoplusio
0 1350 posted 16 years ago by rccc
A short photo id is a base58 conversion of the photo id. Base58 is like base62 [0-9a-zA-Z] with some characters removed to make it less confusing when printed. (namely 0, O, I, and l). So that leaves an alphabet of: 123456789abcdefghijkmnopqrstuvw...
0 1685 posted 16 years ago by loucypher
0 1093 posted 16 years ago by rccc
0 876 posted 16 years ago by draeton
Load this Javascript after the MS AJAX files have been loaded. In the example I am using jQuery to call the patchMicrosoftAjax() method, but you can use any method you desire.
0 2200 posted 16 years ago by jink
Highlights the current post/page in the Wordpress sidebar.
0 1382 posted 16 years ago by dmatranga
This can be tested using the following piece of code var a = [1, 2, 3, 4, 5]; alert(a.size());
0 1221 posted 16 years ago by arunpjohny
This function is add 'each' function to the javascript Array object.
1 1085 posted 16 years ago by arunpjohny
Returning a boolean inside of jQuery's $.each() function will only break the loop. To get a return value, you can convert the jQuery object to array and use a regular for loop in javascript.
0 1719 posted 16 years ago by jasonseney
This will convert a *TimmerInterval* to a locaized date ...
0 960 posted 16 years ago by yisreldov
his set of Javascript functions trim or remove whitespace from the ends of strings. These functions can be stand-alone or attached as methods of the String object. They can left trim, right trim, or trim from both sides of the string. Rather than usi...
2 1536 posted 16 years ago by Mithun
Select some text to translate, or don't select anything to translate the entire page.
0 1286 posted 16 years ago by wizard04
The Number objects value determines how often the supplied function is repeated. Inspired by ROR & Python. "Pollutes" Number's prototype.
0 1319 posted 16 years ago by peta
This is based on the [Sort Gmail Messages By Bookmarklet](http://snipplr.com/view/10432/sort-gmail-messages-by-subject/ "Sort Gmail Messages By Bookmarklet - http://snipplr.com/view/10432/sort-gmail-messages-by-subject/") snippet. Drag this int...
1 1468 posted 16 years ago by roryok
Video For Everybody is a great way to use the `<video>` tag with fallbacks for QuickTime or Flash for users with old browsers, but it requires that every video be encoded twice (once for the MP4 and once for the OGG). This code (which requires Moo...
0 1373 posted 16 years ago by Kit
Outputs the number of Pixels Per Inch in the current Device
0 2457 posted 16 years ago by rportela
1 ... 19 20 21 22 23 ... 33