Changes between Initial Version and Version 1 of Ticket #7225, comment 1


Ignore:
Timestamp:
Apr 7, 2011, 6:10:52 AM (10 years ago)
Author:
rdworth
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7225, comment 1

    initial v1  
    1515<div></div>
    1616<script>
    17 $.ajax( $.extend( {}, undefined, {
    18     url: "otherfile.html",
    19     success: function( r ) {
    20       $("div").html( r );
    21     }
    22   })
    23 );
     17$.ajax({
     18  url: "otherfile.html",
     19  success: function( r ) {
     20    $("div").html( r );
     21  }
     22});
    2423</script>
    2524}}}
     
    3130<div></div>
    3231<script>
    33 $.ajax( $.extend( {}, undefined, {
    34     url: "otherfile.html",
    35     complete: function( jqXHR ) {
    36       $("div").html( jqXHR.responseText );
    37     }
    38   })
    39 );
     32$.ajax({
     33  url: "otherfile.html",
     34  complete: function( jqXHR ) {
     35    $("div").html( jqXHR.responseText );
     36  }
     37});
    4038</script>
    4139}}}