You need to store the data in a variable outside the scope of the success function:
var myData= {};
$.ajax({
url:"<?php echo site_url('proposal/getContact');?>/"+client,
type: 'GET',
dataType: 'json',
success:function(data) {
myData.data = data;
}
});
You should then be able to refer to myData later. However, how does your later code know that the ajax call has completed ?