Using function in Javascript
<p>Example:</p>

<pre><code>function pcs()
{
    var t1 = document.getElementById("tot1").value
    var pb = document.getElementById("pcbox").value
    var pc = ""

    if (t1==! &amp;&amp; pb==!)
    {
     document.getElementId("rbox").innerHTML = ""
    }
}
</code></pre>

<p>My question is if <code>t1</code> and <code>pb</code> are null the function <code>pcs()</code> is not called... Why?</p>
