Welcome To Snipplr
Everyone's Recent Snippets Tagged jquery
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
jQuery
jQuery: Input text default value, clear value on click, if typed value erased, get default value back
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
1062
posted 13 years ago by cdurocher
This should enable you to clear elements such as search boxes effectively whilst maintaining usability.
Enjoy!
0
777
posted 13 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
971
posted 13 years ago by Cwerther
This is probably buggy and certainly not the most efficient way to do it.
0
893
posted 13 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
971
posted 13 years ago by serialk89
Вывод 1: ЕÑли задать функцию через jQuery.fn, то она будет работать Ñ Ñлементами найденными через функцию $(). КонтекÑÑ‚ Ñтой функции будет ÑодеÑ...
0
701
posted 13 years ago by stancox
This is a simple accordion plugin that i wrote. Hope it comes in handy.
0
699
posted 13 years ago by neilp123
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
810
posted 13 years ago by FatFolderDesigner
Sometimes, you need to setup functionality before jQuery is loaded (e.g. because of a template). You can use this snippet to schedule the function after jQuery is loaded.
1
1395
posted 13 years ago by studioevoque
Read more here: http://www.jquery4u.com/dynamic-css-2/change-css-jquery/
0
684
posted 13 years ago by jquery4u
Asà es cómo se tiene que hacer la llamada a jquery desde facebook
0
680
posted 13 years ago by serialk89