Welcome To Snipplr


Everyone's Recent jQuery Snippets



1 ... 9 10 11 12 13 ... 30
works in all the major browsers that support adding to bookmarks, FF, IE, Opera. Safari and Chrome dont support this, so for them, a nice message :)
1 2166 posted 15 years ago by prwhitehead
This is how you can add a file/image upload tool to your forms and have AJAX store the file with PHP and return a thumbnailed version to the user for display on the form. Nice.
2 2112 posted 15 years ago by jquery4u
Use jQuery get rss (with JavaScript) to get a blogs (or websites) display rss feed on your web page.
1 1673 posted 15 years ago by jquery4u
This is how you can create page box elements that are loaded via AJAX and can be refreshed instantly without a whole page reload.
0 1640 posted 15 years ago by jquery4u
These days when you are using forms you need some sort of protection from bots and spammers.
2 1623 posted 15 years ago by jquery4u
So today I created a html image map which creates dynamic links based on the color of the pixel that the user clicked.
0 1759 posted 15 years ago by jquery4u
No need to create a seperate function for this one. Just one line to clear the default value on click and leave the value when it has been altered.
1 1834 posted 15 years ago by dyteq
FadeIn and FadeOut cycle through some images in a div
0 1406 posted 15 years ago by marzsman
Valiodate a form with jQuery.Validate and submit it with jQuery.form
1 1571 posted 15 years ago by marzsman
0 1545 posted 15 years ago by joshangell
Execute function / action when an element has loaded or clicked. Originally seen here: http://www.codingforums.com/archive/index.php/t-144582.html
0 1666 posted 15 years ago by reverend
Hide the url bar on page load in webkit mobile browsers.
0 2959 posted 15 years ago by vagrantradio
Basically, if the value has already been requested once before it's returned immediately from the cache. Otherwise, an AJAX request fetches the data and adds it to the cache. The $.when/.then doesn't care about any of this; all you need to be concern...
0 2911 posted 15 years ago by crypticsoft
tinyscrollbar
0 1087 posted 15 years ago by daanoz
Use this to go to a URL when selecting an option.
2 1886 posted 15 years ago by smoothdzion
simple jquery plugin that powers the text auto-resizing that is the basis of textagon.com
0 1597 posted 15 years ago by secretgspot
1 1409 posted 15 years ago by coryschadt
1 1797 posted 15 years ago by coryschadt
$('#contentbox').keyup(function(){} - contentbox is the ID of the textbox. Using $(this).val() getting the textbox value. bar is the div ID of the count meter $('#bar').animate() increasing the width.
0 3143 posted 15 years ago by atik
Example of how to display HTTP error code and message on ajax response
0 1711 posted 15 years ago by anagaiyahoocom
1 ... 9 10 11 12 13 ... 30