function get_clients() {
var url = "Ajax.do";
var ac = $("#some_id").val();
var customerid = $("#other_id").val();
$.ajax(
{
type: 'POST',
url: url,
data: {id: id, customerid: customerid},
success: function(data) {
// Here you can split the string that
// comes from response and insert in other html elements
}
}
)
return false;
}