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 2095 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 2049 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 1621 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 1568 posted 15 years ago by jquery4u
These days when you are using forms you need some sort of protection from bots and spammers.
2 1540 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 1690 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 1772 posted 15 years ago by dyteq
FadeIn and FadeOut cycle through some images in a div
0 1348 posted 15 years ago by marzsman
Valiodate a form with jQuery.Validate and submit it with jQuery.form
1 1508 posted 15 years ago by marzsman
0 1471 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 1603 posted 15 years ago by reverend
Hide the url bar on page load in webkit mobile browsers.
0 2888 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 2838 posted 15 years ago by crypticsoft
tinyscrollbar
0 1039 posted 15 years ago by daanoz
Use this to go to a URL when selecting an option.
2 1814 posted 15 years ago by smoothdzion
simple jquery plugin that powers the text auto-resizing that is the basis of textagon.com
0 1533 posted 15 years ago by secretgspot
1 1349 posted 15 years ago by coryschadt
1 1733 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 3074 posted 15 years ago by atik
Example of how to display HTTP error code and message on ajax response
0 1645 posted 15 years ago by anagaiyahoocom
1 ... 9 10 11 12 13 ... 30