Welcome To Snipplr


Everyone's Recent jQuery Snippets Tagged ajax



« Prev 1 2
Here’s a super handy snippet that I use very often. It works very simply: once the user clicks on #submit, the data from #form is serialized and sent to a remote page using the POST method.
0 252 posted 2 years ago by catswhocode
This code shows how we post HTML form by AJAX and jQuery.
0 177 posted 7 years ago by khaled__mahmoud
Get the ajax complete event after filtering a view content in drupal
0 129 posted 7 years ago by apmartins
in jquery mobile, .html() not refresh DOM. Execute this function after any DOM change.
0 125 posted 7 years ago by goo
This will monitor the status of all ajax calls on the page. When ajax starts i show an animated spinner gif and display a message that ajax has been requested. On completion of a call the status returned is displayed and the spinner is hidden to in...
1 109 posted 7 years ago by halk
simple ajax submit (example is from jquery doc)
0 102 posted 8 years ago by artaserse
Basic setup code for jQuery, linking to Google APIs for the jQuery library.
2 239 posted 8 years ago by adrianparr
1 104 posted 8 years ago by vitorbari
From time to time I need a Ajax function to not cashe the template it load. I only have notest this problem in IE.
1 97 posted 8 years ago by Tyde
And how you do this?
1 115 posted 8 years ago by graceman9
1 108 posted 9 years ago by kyabas
Operación Ajax básica con jQuery
0 100 posted 9 years ago by n19ht
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 151 posted 9 years ago by Cwerther
Enviar datos por medio de $.ajax, propidad de jquery que permite ocupar ajax con php en jquery, se puede ocupar para cualquier cosa
0 119 posted 9 years ago by serialk89
Loading external scripts on demand the smart way with Head JS
0 63 posted 9 years ago by kevinlearynet
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 93 posted 9 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 70 posted 9 years ago by jquery4u
Cache control when pulling in scripts, redefined "getScript" function
0 109 posted 9 years ago by lamebollock
0 66 posted 9 years ago by Sullan
1 117 posted 9 years ago by Savio
6 148 posted 9 years ago by dropthenerd
When running live filters on large, long scripts you can get old, stale results replacing your new, fresh ones. After all, a search for everything containing 'S" in a large database of city names can take a lot longer than "Seattle", so your script g...
2 166 posted 9 years ago by FatFolderDesigner
Simple jQuery script to load additional content when you near the bottom of the page, same sorta thing Twitter does (although I originally programed it for a different use). Only thing of remark is the fact that it stores the current highest loaded v...
4 214 posted 9 years ago by FatFolderDesigner
As of my ongoing preparation for the 1K tweet :) I was interested to see the 1000th tweet from some friends timeline. And when I didn't find an existing method, I thought I could write few jQuery lines to solve this..
1 111 posted 9 years ago by mikemore
This is a cut down example using custom tabs (you can easily add a custom ajax event to load in content - just follow Ben Alman's example).
0 129 posted 9 years ago by Meander365
When injecting via jQuery HTML content which contains script tags referencing external scripts, which are then referenced via scripting elsewhere in the injected HTML, some browsers (Chrome) will not wait for the external scripts to load causing the...
2 130 posted 9 years ago by harikaram
Nice jquery script to check if a file exists, written by ambitionlab
3 161 posted 9 years ago by thefricky
This is a two file video player. I use JSON to get the list of videos from a user, then when a thumbnail is clicked, an AJAX request is sent with the id of the video, and an oEmbed response is sent back.
4 72 posted 9 years ago by mloberg
« Prev 1 2