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 3255 posted 8 years ago by catswhocode
This code shows how we post HTML form by AJAX and jQuery.
0 1545 posted 12 years ago by khaled__mahmoud
Get the ajax complete event after filtering a view content in drupal
0 2054 posted 12 years ago by apmartins
in jquery mobile, .html() not refresh DOM. Execute this function after any DOM change.
0 1485 posted 12 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 1293 posted 12 years ago by halk
simple ajax submit (example is from jquery doc)
0 1158 posted 13 years ago by artaserse
Basic setup code for jQuery, linking to Google APIs for the jQuery library.
2 1589 posted 13 years ago by adrianparr
1 1208 posted 13 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 1888 posted 13 years ago by Tyde
And how you do this?
1 1527 posted 13 years ago by graceman9
1 1326 posted 14 years ago by kyabas
Operación Ajax básica con jQuery
0 1148 posted 14 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 1334 posted 14 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 1335 posted 14 years ago by serialk89
Loading external scripts on demand the smart way with Head JS
0 969 posted 14 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 1259 posted 14 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 975 posted 14 years ago by jquery4u
Cache control when pulling in scripts, redefined "getScript" function
0 1259 posted 14 years ago by lamebollock
0 980 posted 14 years ago by Sullan
1 1344 posted 14 years ago by Savio
6 1595 posted 14 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 1494 posted 14 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 1944 posted 14 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 1352 posted 14 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 1470 posted 14 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 1695 posted 14 years ago by harikaram
Nice jquery script to check if a file exists, written by ambitionlab
3 1522 posted 14 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 1234 posted 14 years ago by mloberg
« Prev 1 2