How to get an inscription from a div?
<p>Hi I wanted to get my inscription "something" and show it on the screen every 2 seconds.
Something doesn't work. Thanks for all help :)</p>

<pre><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;/head&gt;
&lt;body&gt; 

&lt;div id = "word"&gt;something&lt;/div&gt;

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

var myVar = document.getElementById("word");

setInterval(function func1(){
document.write(myVar)
},2000);

func1();

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