$.ajax({
url : url,
type: type,
data : data,
success: function(reply){
$(element).html(reply);
$.ajax({
url : url,
type: type,
data : data,
success: function(reply){
$(element).html(reply);
}
});
}
});