Welcome To Snipplr


Everyone's Recent jQuery Snippets Tagged javascript



NOTE: THIS HAS BEEN MOVED TO GITHUB: If you have any ideas or improvements for this script feel free to fork or contribute or discuss over there: https://github.com/adamcoulombe/jquery.customSelect Plugin Download: http://www.adamcoulombe.info...
2 1320 posted 14 years ago by adamcoulombe
finds a specific attribute in an iFrame and loads it to another div on page.
1 788 posted 14 years ago by vagrantradio
grabs image alt or src and appends it to a title
1 606 posted 14 years ago by vagrantradio
link to plugin http://projects.exvoto.org/jquery-extjsoncookie/
1 564 posted 14 years ago by almazom
This plugin will, by default, truncate a block of text down to one line at its current width (if the text block exceeds 1 line). You can also pass in a pixel value and it will truncate it to that width.
0 892 posted 14 years ago by adamcoulombe
Con esto evitamos que un enlace que tengamos con 'href="#"' actue como tal y la pagina haga scroll hasta la parte superior.
0 442 posted 14 years ago by jacinmontava
I was recently faced with the problem of setting focus to the next input field. The challenge was that I didn’t know what that field was. So given an input field, find the next logical (in the order of the DOM) input field and set focus. I came up...
1 929 posted 14 years ago by Meander365
adapted from http://jquery14.com/day-05
10 1063 posted 14 years ago by cfleschhut
This is an improvement on http://snipplr.com/view/11583/retrieve-url-params-with-jquery/ I found IE wasn't liking the results[1] when no param was set. This fixes that issue.
6 2871 posted 14 years ago by geekyjohn
Basic skeleton for a plugin. Contains an example to show where code needs to go.
2 505 posted 14 years ago by ira
$('.fadein').slideShow(300);
1 584 posted 14 years ago by luizlopes
I found the tablesorter - jQuery plugin cool and easy to-be implemented. Plugin is written by Christian Bach and my snippet uses tablesorter version 2.0.3. Images are stored on my server as well as inlcuded .js files in example directory. Project's s...
1 610 posted 14 years ago by lukaz
1 404 posted 14 years ago by bionickid
0 477 posted 14 years ago by ReeceMarsland
1 612 posted 14 years ago by morvan
First value takes empty input values and adds 'Enter Value'.<br> Second snippet removes 'Enter Value' when input is focused.<br> Third snippet re-adds 'Enter Value' if the value is left blank.
2 778 posted 14 years ago by smoothdzion
1 610 posted 14 years ago by quest
A simple jQuery-powered hover based on the element's title
0 491 posted 14 years ago by teedy
2 530 posted 14 years ago by joe-bbb
Taken from TVIDesign's 25 Excellent jQuery tips
0 602 posted 14 years ago by nd6
To prevent multiple submit from sending more than one request, bind the submit event and store a "disabledOnSubmit" data. Next time the event "submit" will be fire, the following jQuery code will return false. All submit buttons are also disabled (...
9 942 posted 14 years ago by dalexandre
Text beim tippen wo anders anzeigen
1 545 posted 14 years ago by skrippendorf
Quickly get the index of the current element. I find myself re-using this several times in a document, so I made a lil' function for it.
3 1001 posted 14 years ago by dougunderscorenelson