Welcome To Snipplr


Everyone's Recent jQuery Snippets



1 ... 7 8 9 10 11 ... 30
Select all the elements from list but not the last
0 659 posted 12 years ago by mortu
Just leaving this here for my own reference ;)
0 589 posted 12 years ago by Some0ne
Specifiy a default value to input text field. OnFocus, the default value clear and let you type a new value. If typed value is erased then the default value is set back.
2 888 posted 12 years ago by cdurocher
This should enable you to clear elements such as search boxes effectively whilst maintaining usability. Enjoy!
0 615 posted 12 years ago by Fitzgenius
This is made for a webservice that outputs varaiable data according to user input, ajax is called each time there is a change on the input.
0 817 posted 12 years ago by Cwerther
This is probably buggy and certainly not the most efficient way to do it.
0 722 posted 12 years ago by MikeAcreman
Enviar datos por medio de $.ajax, propidad de jquery que permite ocupar ajax con php en jquery, se puede ocupar para cualquier cosa
0 823 posted 12 years ago by serialk89
0 611 posted 12 years ago by paulund
Вывод 1: Если задать функцию через jQuery.fn, то она будет работать с элементами найденными через функцию $(). Контекст этой функции будет содеÑ...
0 554 posted 12 years ago by stancox
This is a simple accordion plugin that i wrote. Hope it comes in handy.
0 554 posted 12 years ago by neilp123
Couple of ways to check if HTML5 form elements exist and use a fallback if they don't.
0 737 posted 12 years ago by vagrantradio
This one was not created by me, but I can't remember who originally created it. It does the same thing as the built in <code>:contains()</code> selector with one important difference, it's case insensitive. Since I usually type in all lower case (bad...
0 627 posted 12 years ago by FatFolderDesigner
0 526 posted 12 years ago by realpeterz
Así es cómo se tiene que hacer la llamada a jquery desde facebook
0 525 posted 12 years ago by serialk89
The comments for this are broken down into 2 parts, first the script is talked about, then theres a little about the HTML code that the script relies on. You can find more information at the URL, as well as an example of it in action. You can leave c...
0 651 posted 12 years ago by FatFolderDesigner
Plugin to get and set Element#style.display (e.g. "none" or "")
0 633 posted 12 years ago by kendsnyder
0 485 posted 12 years ago by soup
add the "a class" part in the body and the $('a.gallery') part between your javascript tags on the line right after $(document).ready(function() {
0 542 posted 12 years ago by gamblelyn
.closest and .find are very useful - surprised I haven't heard of them before.
0 630 posted 12 years ago by inreflection7
This function follows the following naming conventions: Give your checkboxes ID tags of "[contenttitle]trigger", where [contenttitle] is whatever you like. Then, give your hide-able content classes that match, without the "trigger". This function wil...
0 505 posted 12 years ago by gellpak
1 ... 7 8 9 10 11 ... 30