Welcome To Snipplr


Everyone's Recent Snippets Tagged ajax



0 97 posted 9 years ago by devnull69
0 93 posted 9 years ago by devnull69
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 147 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 116 posted 9 years ago by serialk89
Loading external scripts on demand the smart way with Head JS
0 62 posted 9 years ago by kevinlearynet
Use the rel attribute to specify which "html" file to load. In this case the link is set to the "About" page and will load the about.html file with AJAX and update the site's title and address.
0 88 posted 9 years ago by jafar
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 92 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 69 posted 9 years ago by jquery4u
Sometimes you have a load of HTML that is difficult to write up as a String from within a javascript function so this is an example of a simple Panel with an event for after rendering that injects it with content from a file.
0 140 posted 9 years ago by LeeProbert
0 126 posted 9 years ago by shodan_uk
0 109 posted 9 years ago by supermauerbros
A simple Ajax database app built with the Karrigell web framework for Python; PyDbLite, a non-SQL Python database engine; and JQuery in the browser
0 58 posted 9 years ago by jcastell
Cache control when pulling in scripts, redefined "getScript" function
0 106 posted 9 years ago by lamebollock
0 65 posted 9 years ago by Sullan
Simple ajax object for creating ajax calls. Why use SimpleAjax? - Very small, only 2kb minified - Make a asynchrone or synchrone ajax call ( AJAX / SJAX ) - Use quick methods get() and post() for GET and POST calls - Use load() method for...
0 86 posted 9 years ago by freelancephp
1 116 posted 9 years ago by Savio
6 146 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 164 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 210 posted 9 years ago by FatFolderDesigner
You may need to change the IDs around.
2 116 posted 9 years ago by joshvermaire
0 86 posted 9 years ago by danhanly
The filter only needs to know which requests need to be returned as JSONP, doesn't care how. Modify "OnBeginRequest" accordinly. If original .asmx doesn't return JSON, extend it like example shows. JSONP only works for GET requests, so don't forget...
0 143 posted 9 years ago by FMalk
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
I was working on this for a new site ideal I have, though it might be useful for others. What this does it sent a AJAX POST request every time the as() function is called. Setting the form to run as() onkeyup will essentially make the form submit its...
1 85 posted 9 years ago by FatFolderDesigner
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 126 posted 9 years ago by Meander365