var lim = 7; function sdf(){ $('#statsent').load('/do/comment_all.php?url='+urlll+'&lim='+(lim+=7)+' #commentBlock'); }