Welcome To Snipplr


Everyone's Recent JavaScript Snippets Tagged ajax



« Prev 1 2
  1. FAV

    XHR GET Request W/ Callback

    Make a simple XHR Request: get(url, function(resp)(){ window.alert(resp); }); Source is minified.
    JavaScript 8 views posted 5 years ago by geneticcode
  2. FAV

    Callback for when images have loaded in an AJAX call

    More info: http://stackoverflow.com/questions/10908562/is-there-something-similar-to-window-load-for-executing-a-function-after
    JavaScript 16 views posted 6 years ago by rickygri
  3. FAV

    Ajax File Include

    Include any external text file within html; HTML, CSS and Javascript all work.
    JavaScript 11 views posted 6 years ago by nshakin
  4. FAV

    Using Ajax in JavaScript and jQuery

    simple code of using Ajax by JavaScript or jQuery
    JavaScript 18 views posted 6 years ago by codingforever99
  5. FAV

    POST form with jQuery (Ajax)

    This send any value via POST to a PHP page. It is done with AJAX, so the POST return can be used on the same page as the submit
    JavaScript 30 views posted 7 years ago by rickygri
  6. FAV

    Ajax HTML to document

    JavaScript 8 views posted 8 years ago by devnull69
  7. FAV

    Ajax POST Request

    JavaScript 13 views posted 8 years ago by devnull69
  8. FAV

    Ajax GET Request

    JavaScript 7 views posted 8 years ago by devnull69
  9. FAV

    Jquery and SWF Address 1.3.2

    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.
    JavaScript 7 views posted 8 years ago by jafar
  10. FAV

    Injecting HTML from a file into an Ext.Panel

    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.
    JavaScript 12 views posted 8 years ago by LeeProbert
  11. FAV

    Checking of duplicated userid using XMLHTTP (or AJAX)

    JavaScript 3 views posted 8 years ago by kangcom
  12. FAV

    SimpleAjax Object

    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...
    JavaScript 6 views posted 9 years ago by freelancephp
  13. FAV

    WordPress AJAX Pagination using jQuery

    You may need to change the IDs around.
    JavaScript saved by 6 people 13 views posted 9 years ago by joshvermaire
  14. FAV

    AJAX MySQL Query

    JavaScript 5 views posted 9 years ago by danhanly
  15. FAV

    AJAX form autosubmit

    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...
    JavaScript saved by 2 people 7 views posted 9 years ago by FatFolderDesigner
  16. FAV

    Display Justin Bieber Tweets with Asynchronous Recursion

    Just a fun and silly way to asynchronously update tweets about Justin Bieber.
    JavaScript saved by 12 people 18 views posted 9 years ago by Nettuts
  17. FAV

    Google Ajax search

    JavaScript 8 views posted 9 years ago by marzsman
  18. FAV

    Sharepoint Ajax List Data populater Example

    JavaScript 8 views posted 9 years ago by rumremix
  19. FAV

    Google AJAX Libraries API

    Avoid *.js upload confusions. Use http://code.google.com/apis/ajaxlibs/
    JavaScript 7 views posted 9 years ago by ialexs
  20. FAV

    Make jQuery respond_to :js

    JavaScript saved by 4 people 6 views posted 10 years ago by wdso
  21. FAV

    Loading XML Using Raw Javascript

    JavaScript 11 views posted 10 years ago by alvincrespo
  22. FAV

    JavaScript to set ASyncPostBackTrigger in .NET

    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...
    JavaScript 6 views posted 10 years ago by cardiffblogger
  23. FAV

    ASP.net & MS AJAX: Enabling WebKit support (chrome, safari) in MS AJAX (fixing webkit browser detection)

    Load this Javascript after the MS AJAX files have been loaded. In the example I am using jQuery to call the patchMicrosoftAjax() method, but you can use any method you desire.
    JavaScript 12 views posted 10 years ago by jink
  24. FAV

    Delay loading JS Files

    JavaScript 6 views posted 10 years ago by rportela
  25. FAV

    JS/ASP.net: Bind to UpdatePanel's update event in Javascript

    JavaScript 4 views posted 10 years ago by jink
  26. FAV

    Ajax Return JS Fix

    JavaScript 5 views posted 10 years ago by rifat
  27. FAV

    jQuery ajax comment preview

    JavaScript 19 views posted 10 years ago by davebowker
  28. FAV

    Javascript loading div for ajax calls or intensive operations

    JavaScript 13 views posted 10 years ago by eden159
  29. FAV

    get http object

    this funciton returns an XMLHttpRequest object for use in ajax pages
    JavaScript saved by 3 people 8 views posted 11 years ago by jlvallelonga
  30. FAV

    Ajax simple call

    JavaScript saved by 1 person 7 views posted 11 years ago by aadsm
« Prev 1 2