Welcome To Snipplr
Everyone's Recent jQuery Snippets Tagged javascript
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
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
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
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
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
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
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