Welcome To Snipplr


Everyone's Recent JavaScript Snippets Tagged javascript



1 ... 9 10 11 12 13 ... 33
0 1308 posted 15 years ago by gdesjardins
This simple script toggles element visiblity on a page based on a form field's current value.
0 1918 posted 15 years ago by beneberle
given a url: >`http://www.someurl.com/page.html?param1=foo&param2=bar` You can use map.param1 outside of the function such as: >`$('#some_hidden_field').val(map.param1);`
0 1321 posted 15 years ago by agdm
This is 3 lines of javascript code to tweetify plain text returned by Twitter API Input : RT @TTintheCloud: How much are free #cloudcomputing trial offers from Google, Amazon and Microsoft actually WORTH? http://bit.ly/i4w4qa Output : RT <a hre...
1 1204 posted 15 years ago by naren1012
Javascript solution for embedding Flash in HTML
0 2900 posted 15 years ago by vriesdewie
0 1364 posted 15 years ago by lecksfrawen
This is probably the first vertical JavaScript text ticker that sues tilted letters. Works with Internet Explorer 6x/7x/8x/9x, Firefox 3.6x, Opera 10.5x and Google Chrome 4x/5x/6x. Older Browsers show no ticker.
0 1775 posted 15 years ago by fabulant
What's so special about this JavaScript slideshow? By moving your cursor all over the webpage you create a nice distortion effect on your images.
0 1720 posted 15 years ago by fabulant
0 1369 posted 15 years ago by loric
Normal replace() function only replaces first instance.
1 2180 posted 15 years ago by rumremix
Found that the webmonkey tutorial code didn't work as double quotes were used around JSON string.
0 1434 posted 15 years ago by eddequincey
Cross domain issues occur when trying to read files such as .xml files of one domain in an other domain (two different websites, ie different IP:Port)
0 1353 posted 15 years ago by vriesdewie
Modified regex of URL Matcher found on http://daringfireball.net/2010/07/improved_regex_for_matching_urls
0 1581 posted 15 years ago by naren1012
Reminder of the assertions possible with jstestdriver
0 1069 posted 15 years ago by ddubyah17
0 1233 posted 15 years ago by BebenKoben
0 1311 posted 15 years ago by BebenKoben
// big thanks to these tips for giving me code to steal: http://bit.ly/bundles/brandonjp/9 /* * USAGE: give your HTML textarea or text input element an ID * give your button an onClick="insertThisInThere(text2insert, theInputIDwhereItGoes);"...
0 4330 posted 15 years ago by brandonjp
Guess the type of any object applying ducktyping
1 1193 posted 15 years ago by pablo_PXL
0 1461 posted 15 years ago by BebenKoben
Template for a Object Literal Architecture in javascript, in this case jQuery
0 1385 posted 15 years ago by athanassiadis
1 1217 posted 15 years ago by tgarceau
1 992 posted 15 years ago by cwylie0
This script handles table sorting, is easy to implement and to alter and has decent documentation. I did not write this JavaScript, rather, I found it here: http://www.kryogenix.org/code/browser/sorttable/ I used this script on the ACEE WordPr...
0 1692 posted 15 years ago by racl101
I did not, in fact write this script. I found it here: http://www.webtoolkit.info/javascript-url-decode-encode.html
0 1395 posted 15 years ago by racl101
1 ... 9 10 11 12 13 ... 33