Getting AJAX to work in IE7

Getting AJAX to work in IE7

How do I get AJAX to work in IE7? It works in Firefox and Chrome but not in IE7.

//display html
var disp = $('#display');
$('#btn').click(function(){
   $.ajax({
      url: 'myfile.html',
      dataType: 'html',
      success: function(data){
         disp.html(data);
      },
      error: function(){
         //display error
      }
   });
});