jquery .html not working
<p>I am trying to replace some div text automatically using the .html command in Jquery but it's not working for me. This is the code I have so far:</p>

<pre><code>    &lt;div id="test"&gt;123&lt;/div&gt;

    &lt;script type="text/javascript"&gt;

    jQuery(document).ready(function(){

    var refreshId = setInterval(function()

    {

    $('#test').html("test");

    }, 1000);


});

&lt;/script&gt;
</code></pre>

<p>Could someone tell me what I'm doing wrong please? I have ran tests to make sure Jquery is working and it is, and if I run alert('test'); then that works fine.</p>

<p>Thanks for any help</p>

<p><strong>Edit: I have ran the script in another file on localhost and it works fine - could it be something within the code I'm using already that's stopping it from working? This is baffling me!</strong></p>
