$.get('http://yoursite.com/test/' + id, function(data) {
    console.log(data);
});
Language