I'm trying to make an ajax call to grab session data to insert into my page after it's loaded like this

```
jQuery(function(){ // Add Answer

  jQuery(".add_answer").livequery('click',function(){
    var count = $(this).attr("alt");
    count++;
    var count1 = count-1;

    $.get('quiz/select', function(p_type){  // Ajax Call for Select Data

      $(this).parents('div:first').find('.a_type_'+count1+'').after('' + p_type + '');
      $(this).attr("alt", count);

    });
  });
});

```

The file i'm calling is found but its contents are not printed out by 'p\_type'
and the `$(this).attr("alt", count);` part of the function is not executing

Note: I'm using CodeIgniter for my framework and jquery for js