I think it must be easy, but still, can not figure out how to solve this. So I've got a variable that contains a URL:
> var siteurl = 'http://my-site.com'; All I need is to add "siteurl" variable into another url before /load.php
function load(){ $.getJSON('/load.php', function(data) { appendComments(data); }); } So that the ultimate url was