Welcome To Snipplr


Everyone's Recent Snippets Tagged ajax



Nice jquery script to check if a file exists, written by ambitionlab
3 1866 posted 15 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 1404 posted 15 years ago by mloberg
A PHP proxy for jQuery AJAX cross-domain requisitions, created to support friendly-url API\\\\\\\'s.
3 1922 posted 15 years ago by hisamu
Just a fun and silly way to asynchronously update tweets about Justin Bieber.
3 1796 posted 15 years ago by Nettuts
2 2650 posted 15 years ago by sb_01
Quick and easy way to determine if the HTTP request is an AJAX call or a standard call. Supports the notion of Unobtrusive JavaScript.
3 2763 posted 15 years ago by joshuascott94
3 1494 posted 15 years ago by StephFR
A snippet setup to grab an XML file, parse it, and return the data contained within.
2 1147 posted 15 years ago by joshharbaugh
Hijack (Ajack?) links within an element so instead of booting you to a fresh page it loads the information to a specified DIV. If you have any suggestions on how to make it better then let me know
5 1614 posted 15 years ago by reynish
0 1510 posted 15 years ago by viatropos
basic ajax submit
1 1181 posted 15 years ago by benrasmusen
I found this really useful when using AJAX that will change database. Preventing the user to re-do the action is not the best way but it still is a little unobtrusive to the user as it lets him navigate the page and know what is going on.
2 1632 posted 15 years ago by verhaeg
tag links with .click function
0 3217 posted 15 years ago by insanedreamer
JQ - detect users browser language using http headers via ajax jsonp ajaxhttpheaders
1 3943 posted 15 years ago by brandonjp
If you are working on apps development to adapt on different sites that you don't have access to them, and need to load Jquery, but don't wanna load it twice this will help you !
3 1617 posted 15 years ago by crispunk
Basic HTML5 layout for beginners
3 2009 posted 15 years ago by crispunk
0 1177 posted 15 years ago by marzsman
1 1372 posted 15 years ago by genseric
1 1195 posted 15 years ago by Scriptshit
Avoid *.js upload confusions. Use http://code.google.com/apis/ajaxlibs/
0 1245 posted 15 years ago by ialexs
1 1237 posted 15 years ago by wdso
jQuery Ajax function to load xml data into a table and add class to even rows for striping.
1 2190 posted 15 years ago by vagrantradio
Handy little snippet i found in 'jquery enlightenment' for caching certain selected files. Could be useful for larger files later on in a site.
1 1829 posted 15 years ago by 1man
If you wish to set an ASyncPostBackTrigger in ScriptManager for AJAX.NET, using ASyncPostBackTrigger="xxx" causes Firefox, Chrome, Safari, etc. to timeout on partial page postback, using this javascript to set the ASyncPostBackTrigger (instead of the...
0 1547 posted 15 years ago by cardiffblogger
What it does: clears & submits exposed filters form via AJAX (if enabled, otherwise normal page refresh). This is for Views 2.x. It works with the 'remember me' option. You need to create a custom module. E.g. custom/custom.module and custom/cu...
1 2066 posted 15 years ago by morningtime