Using a div for input validation with Jquery
<p>I am looking to display my input validation in a div instead of an alert. I currently have </p>

<pre><code>//check for COGs to be a number
        if (isNaN($("#txtCOGs").val())) {
            alert("The Cost of Goods Sold must be a number");
            $("#txtCOGs").focus();
            return false;
        }
</code></pre>

<p>I am trying to place it in the div </p>

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

<p>Advice?</p>
