Welcome To Snipplr


Everyone's Recent jQuery Snippets Tagged jquery



1 2 3 4 5 6 ... 24
Set a variable by getting the URLs id with PHP. Find the the option with the name value that is equal with the variable and add "selected" to it.
0 1821 posted 14 years ago by LadyLoomis
Understanding callbacks in jQuery animations
0 1455 posted 14 years ago by handsomegenius
Hides the button based on scroll position, fades in and out as necessary and upon click smoothly scrolls back to the top.
0 1587 posted 14 years ago by thewickedchemist
Javascript/jQuery to check for the time
0 1570 posted 14 years ago by poot26
This snippet gets the value of the selected dropdown
0 2742 posted 14 years ago by jjmu15
Adding input values and clearing on focus
1 1962 posted 14 years ago by hubbske
Action a link/submit when input is hit with enter button
0 1589 posted 14 years ago by hubbske
Simple jQuery accordion function for jQuery version 1.7.1 and above.
3 1765 posted 14 years ago by digitalclubb
Simple solution to add dropdowns quickly to any site.
0 1525 posted 14 years ago by thewickedchemist
Basic setup code for jQuery, linking to Google APIs for the jQuery library.
2 2099 posted 14 years ago by adrianparr
Simple Show/Hide Panel we learned in class for an assignment.
0 1216 posted 14 years ago by ninacess
Creates rotating background images with a smooth transition.
1 1859 posted 14 years ago by ryonley
This code snippet fetches the very latest minified version of jQuery from Google's CDN. If this is not available, we revert to a locally stored version (current version at time of publish was 1.7.1 - update this to suit going forward).
1 1983 posted 14 years ago by Huskie
Made for WebCloud.
1 1410 posted 14 years ago by Schart
A clean and simple jQuery function for creating a tabbed element. This one allows multiple tabbed elements on 1 page (which has been the downfall of so many others)
1 1638 posted 14 years ago by digitalclubb
jQuery for inputy attribute "placeholder".
1 1559 posted 14 years ago by mihael
Creating sprite buttons often had problems with different browsers. This is a solution to get background positions in each browser for further manipulation.
1 2151 posted 14 years ago by bernhardb
How to make numbers update with a smooth animation with jQuery
1 1661 posted 14 years ago by claudiowebdesign
A quick snippet that removes the 'px' when accessing a value through jquery, and converts it into an integer.
0 1414 posted 14 years ago by cessnajumpin
0 1095 posted 14 years ago by djalisko191
0 1222 posted 14 years ago by rodrigojuarez
0 1104 posted 14 years ago by rodrigojuarez
This is inspired by jQuery autotabs plugin by Keywan Ghadami. I've made a few changes to allow for more versatility and to add button navigation.
0 1749 posted 14 years ago by Neener54
jQuery to set the width of some text to the width of a given element.
0 1711 posted 14 years ago by Narthur
fix youtube iframe overlay
0 1621 posted 14 years ago by kiroweb
https://github.com/zenorocha/jquery-boilerplate/blob/master/jquery.boilerplate.min.js
0 1485 posted 14 years ago by lawlesscreation
1 2 3 4 5 6 ... 24