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 1645 posted 6 years ago by catswhocode
This code shows how we post HTML form by AJAX and jQuery.
0 901 posted 10 years ago by khaled__mahmoud
Get the ajax complete event after filtering a view content in drupal
0 763 posted 11 years ago by apmartins
in jquery mobile, .html() not refresh DOM. Execute this function after any DOM change.
0 885 posted 11 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 688 posted 11 years ago by halk
simple ajax submit (example is from jquery doc)
0 617 posted 12 years ago by artaserse
Basic setup code for jQuery, linking to Google APIs for the jQuery library.
2 975 posted 12 years ago by adrianparr
1 675 posted 12 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 663 posted 12 years ago by Tyde
And how you do this?
1 823 posted 12 years ago by graceman9
1 753 posted 12 years ago by kyabas
Operación Ajax básica con jQuery
0 629 posted 12 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 778 posted 12 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 784 posted 12 years ago by serialk89
Loading external scripts on demand the smart way with Head JS
0 495 posted 12 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 608 posted 12 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 486 posted 12 years ago by jquery4u
Cache control when pulling in scripts, redefined "getScript" function
0 708 posted 13 years ago by lamebollock
0 524 posted 13 years ago by Sullan
1 776 posted 13 years ago by Savio
6 968 posted 13 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 841 posted 13 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 1129 posted 13 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 753 posted 13 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 840 posted 13 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 903 posted 13 years ago by harikaram
Nice jquery script to check if a file exists, written by ambitionlab
3 832 posted 13 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 634 posted 13 years ago by mloberg
« Prev 1 2