Problem with AJAX calls in pagination

I am having an issue with loading data into a view after an AJAX request has been. I checked Firebug and the ajax call returns 200 OK, but no new data is loading, it just shows the same data and the page links dont change, i.e. only stays on page 1.

–VIEW–

[javascript]

// Functon to Show out Busy Div
function showBusy(){
$(‘#ajax-content’).block({
message: ‘<h1>Processing</h1>’,
css: {border:‘3px solid #000’}
});
}

function updatePage(html){

window.setTimeout( function(){
    $('#ajax-content').html(html);
}, 2000)

}

$(document).ready(function() {

// $.AJAX Example Request
$('#ajax-pag').live('click', function(eve){
    eve.preventDefault();
    
    var link = $(this).attr('href');
    
    $.ajax({
        url: link,
        type: "GET",
        dataType: "html",
        beforeSend: function(){
            showBusy();
        },    
          success: function(html) {
            updatePage(html);
         }
    });
    

});    

});
[javascript]

</head>
<body>
<!–end header –>
<div id=“ajax-content”>

&lt;?php 
    foreach ($results as $r){
?&gt;
        &lt;div class="search_result"&gt;
            &lt;div&gt;&lt;?php echo $r-&gt;address;?&gt;&lt;/div&gt;
            &lt;div&gt; &lt;?php echo $r-&gt;email;?&gt;&lt;/div&gt;
        &lt;/div&gt;
&lt;?php 
    }
        echo'&lt;ul id="ajax-pag"&gt;';
        echo $pag_links;
        echo '&lt;/ul&gt;';
    
?&gt;    

</div>

–CONTROLLER–

class Search extends CI_Controller {

	function __construct()
	{
	
		parent:: __construct();
		
		$this-&gt;load-&gt;library('pagination');
		
		$this-&gt;load-&gt;model('Rooms_model');
	
	}
	
	function index($offset='')
	{
	
		$limit = 2;
		
		$data_count = $this-&gt;Rooms_model-&gt;count_search_results();
		
		$config['base_url'] = base_url().'/index.php/search/index';
		
		$config['total_rows'] = $data_count;
		
		$config['per_page'] = $limit;
		
		$data['results'] = $this-&gt;Rooms_model-&gt;all_search_results($limit,$offset);
	
		$this-&gt;pagination-&gt;initialize($config);
		
		//create array to pass to view
					
		$data['pag_links'] = $this-&gt;pagination-&gt;create_links();
					
		if (!empty($_SERVER['HTTP_X_REQUESTED_WITH']))
		{
			
			$this-&gt;load-&gt;view('search/ajax_search_result',$data);
		
		}
		else
		{
		
			$this-&gt;load-&gt;view('search/search_view',$data);
		
		}
	
	}

}

Hai condo,
it would have been very easier to read your code if you had warped it in the code tags.