why is this not working??

why is this not working??

I write a code in local js file. not web js file. in jquery Version 1.3 run ok ,but now in Version 1.7 or 1.6... not runing. why? bug? for example code: $.ajax({

url: 'http://bugs.jquery.com', success: function(msg){

alert(msg);

}

});