Hi all,

I'm trying to get the following piece of code working (the spinning gif never loads, nor is the data retrieved), but its not and I can't seem to see the problem - any thoughts

Code:
<html>
<head>
<title> this is an ajax test</title>

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>

<script type="text/javascript">

function example_ajax_request() {

    // Put an animated GIF image insight of content
    $("#content").empty().html('<img src="ajax-loader.gif" />');

    // Make AJAX call
    $("#content").load("http://www.bbc.co.uk");
});
</script>

<head>
<body>

<p><input type="button" value="Load Content" onclick="example_ajax_request()" /></p>
<div id="content">
  Please click "Load Content" button to load content.
</div>

</body>
</html>
thanks!