Welcome To Snipplr


Everyone's Recent Snippets Tagged jquery



1 ... 16 17 18 19 20 ... 44
1 1171 posted 15 years ago by YA
This one is simple yet very useful. You can do alternating row colors with 2 simple lines of jQuery
4 1518 posted 15 years ago by BlueIceStudios
1 1681 posted 15 years ago by BlueIceStudios
0 1520 posted 15 years ago by BebenKoben
if you are using jquery 1.4 you can simple do
1 1419 posted 15 years ago by BlueIceStudios
1 1335 posted 15 years ago by Some0ne
2 1933 posted 15 years ago by BFTrick
You will want to include the jquery easing plugin: http://gsgd.co.uk/sandbox/jquery/easing/ Add a class of 'scroll' to any element that should slide to an anchor tag. You must give the anchor tag an id equal to the name.
1 1743 posted 15 years ago by BFTrick
1 1070 posted 15 years ago by eckbert
1 1399 posted 15 years ago by hamsterbacke82
This tiny jQuery plug in forces a user to enter only numeric values on an input field by silently removing non-numeric values as they're entered. (Caution: Never rely on client-side validation; use server-side validation as well)
2 2138 posted 15 years ago by BrunoDeBarros
Just syntax examples here. First block reads, second writes. Top function just a debugging helper. Using jquery 1.5, $(xData.responseXML).find("nodeName=z:row]").each(function(i)... may need to be written as $(xData.responseXML).find("nodeName='z...
0 2284 posted 15 years ago by rumremix
easy tabs
0 1044 posted 15 years ago by jelontok
simple jquery code to clear form fields
0 1307 posted 15 years ago by jelontok
keeps hover states on for top level dropdown menu items or accordions
1 1441 posted 15 years ago by jelontok
1 1363 posted 15 years ago by cleo
You need jQuery to make this work.
1 1614 posted 15 years ago by tomasdev
0 1215 posted 15 years ago by cAPSlOCK
This snippet will replace any "&amp;" within the text of the container your specify with a <span> that you can target with CSS; fancy!
0 1109 posted 15 years ago by dtigraphics
0 1420 posted 15 years ago by cougarbreath
No entiendo xq no procesa esta formulario...? si en lugar de hacer un ajax.post hacemos un div_id.setInnerFBML(formdata); No printa en ajaxMessage nada, lo deja en blanco.
1 1213 posted 15 years ago by estadoactivo
Instead of writing the link in the HTML, just write the email address inside any tag you want (p, spam, div...) with the class "email", and put "[at]" instead "@". This script replace the "[at]" and create the link outside the spam robot sight
1 1830 posted 15 years ago by thefricky
0 1368 posted 15 years ago by rumremix
jQuery bindings for showing and hiding a div during AJAX requests. The div will not show unless the AJAX request takes a certain amount of time (in this case 300ms). This will reduce the flicker effect of showing and hiding throbbers.
1 1501 posted 15 years ago by smchristensen
This is essentially how to detect an outside click for a dialog box on a website, using HTML/CSS/Javascript/JQuery. Essentially you need to understand event propagation how it works throughout the DOM with JQuery, to make this as simple as possib...
0 1506 posted 15 years ago by alvincrespo
1 ... 16 17 18 19 20 ... 44