Welcome To Snipplr


Everyone's Recent Snippets Tagged ajax



« Prev 1 2 3 4 5 6
  1. FAV

    Get all values from form and send it to a page via Ajax

    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.
    jQuery 3 views posted 2 years ago by catswhocode
  2. FAV

    XHR GET Request W/ Callback

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

    MVC Ajax Submit Form

    How to submit a form asynchronously and get result in JSON
    C# 6 views posted 5 years ago by DennisvanderStelt
  4. FAV

    Magento Ajax Scroll extension

    Amasty developed AJAX Scroll extension to make catalog navigation much faster and easier.
    PHP 4 views posted 5 years ago by Amasty
  5. 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 8 views posted 6 years ago by rickygri
  6. FAV

    Ajax File Include

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

    Post form by AJAX and jQuery

    This code shows how we post HTML form by AJAX and jQuery.
    jQuery 12 views posted 6 years ago by khaled__mahmoud
  8. FAV

    Using Ajax in JavaScript and jQuery

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

    Drupal views ajax complete

    Get the ajax complete event after filtering a view content in drupal
    jQuery 3 views posted 6 years ago by apmartins
  10. FAV

    Yoast WordPress SEO Ajax frontend updater

    This snippet shows how to retrieve information from the SEO plugin of Yoast, to be used for front-end use. This snippet is taken from the opensource free Nexus WP framework supporting front-end editing, custom layout and drag & drop.
    PHP 6 views posted 6 years ago by barkgj
  11. FAV

    Send array through ajax tools request to js

    Send array through ajax tools request to js
    PHP 2 views posted 6 years ago by dosde
  12. FAV

    [jQuery Mobile] Refresh DOM after AJAX Call

    in jquery mobile, .html() not refresh DOM. Execute this function after any DOM change.
    jQuery 3 views posted 7 years ago by goo
  13. FAV

    wordpress include wpdb only (wpdb for ajax)

    So, you define a couple of fake funcs and require WP database config, after this you can require wp-db.php, create new wpdb and use it independency of WP for your ajax actions.
    PHP 1 views posted 7 years ago by Zayac
  14. FAV

    CSS3 Ajax Loading Cross browser

    CSS3 Ajax Loading Animation ======== This is a simulation for the popular gif animated images. The reason why i choose to do it in css3 is the flexibility of re-using it in different sizes, different colors and the transparency issues in gif anim...
    HTML saved by 3 people 10 views posted 7 years ago by MohamedAlaa
  15. FAV

    Document Ready with Global Ajax Listener and Status Indicator

    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...
    jQuery saved by 1 person 7 views posted 7 years ago by halk
  16. 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 20 views posted 7 years ago by rickygri
  17. FAV

    paginar resultados con php y jquery ajax

    paginar resultados con jquery y ajax, permite ingresar condiciones (where, like, =...) solo se ingresa el nombre de los campos de la base de datos que se desean listar ver opciones.
    PHP saved by 3 people 9 views posted 7 years ago by rickyslow
  18. FAV

    Jquery Ajax example submit

    simple ajax submit (example is from jquery doc)
    jQuery 18 views posted 7 years ago by artaserse
  19. FAV

    jQuery Basic Setup

    Basic setup code for jQuery, linking to Google APIs for the jQuery library.
    jQuery saved by 18 people 78 views posted 8 years ago by adrianparr
  20. FAV

    Magento - Ajax Based Wishlist and Compare

    PHP saved by 1 person 0 views posted 8 years ago by etechblog
  21. FAV

    ajax with asp.net mvc3

    accessing getdev action of home controller which returns jsonresult
    C# saved by 1 person 6 views posted 8 years ago by root_hacker
  22. FAV

    Magento Ajax Based Add to Cart from category page

    PHP saved by 2 people 3 views posted 8 years ago by etechblog
  23. FAV

    jQuery Ajax Error Handling

    jQuery saved by 3 people 8 views posted 8 years ago by vitorbari
  24. FAV

    Ajax non load cash

    From time to time I need a Ajax function to not cashe the template it load. I only have notest this problem in IE.
    jQuery saved by 2 people 1 views posted 8 years ago by Tyde
  25. FAV

    jQuery ajax loading wrapper (realy simple :))

    And how you do this?
    jQuery saved by 1 person 8 views posted 8 years ago by graceman9
  26. FAV

    function load by ajax

    PHP 4 views posted 8 years ago by jose_506
  27. FAV

    jQuery Ajax Get

    jQuery saved by 2 people 6 views posted 8 years ago by kyabas
  28. FAV

    Ajax básico con jQuery

    Operación Ajax básica con jQuery
    jQuery 1 views posted 8 years ago by n19ht
  29. FAV

    Submit Form with Control + Enter

    I took this out of an example in tutsplus, and I added a fadeIn action for aesthetic reasons.
    HTML 0 views posted 8 years ago by luizlopes
  30. FAV

    Ajax HTML to document

    JavaScript 2 views posted 8 years ago by devnull69
« Prev 1 2 3 4 5 6