How to solve the setinterval problem that only refreshes the first time

0

This is only giving the first automatic refresh to. Here's what I'm using

    var refresh = setInterval( function() 
{
    $('#uohide').load('rand.php');
}, 5000);

html <div id="uohide></div>

rand.php <? echo rand(1, 9999); ?>

    
asked by anonymous 10.02.2016 / 21:22

0 answers