It's probably caching, use $.ajax
instead (docs here) $.getJSON
is just a wrapper (and in my option not a very good one) for this function anyway.
$.ajax({cache:false,
url:"random.php",
dataType :'json'})
.done(function(result){
.....etc
});