Why can't I set value to display in a div?
<p>So I'm new to JavaScript and I'm trying to figure out why doesn't this work:</p>

<p>My function has this line:</p>

<pre><code>document.getElementById("displayResult").value = ("test");
</code></pre>

<p>and this is my div:</p>

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