JSFiddle

  • Simple AJAX

    jQuery 1.6.2, HTML, CSS, JavaScript

    $("input#submit").click(function(e){
        $.post('/echo/html/',{"html":$("input[name=html]").val()},function(data){$("div#out").append("search term ...
  • Testing AJAX #64 is the latest revision

    This is for me to text AJAX with jQuery.

    $.ajaxSetup({
        cache: false
    });
    
    var ajax_load = "<img src='http://garmahis.com/wordpress/wp-content/uploads/2009/09/loading.gif' alt='loading...' />";
    
    var json1 = '{"name":"Justin Krup" ,"sex":"male"}';
    
    show_json = function(responseText) {
        $("#result").html(responseText.name +"<br />" + responseText ...