Problem with logical OR
<p>What's wrong with this code:</p>

<pre><code>if (Gender != "M" || Gender != "F")
{
    alert("Please enter gender." + Gender);
    document.getElementById("gender").focus();
    return false;        
}
</code></pre>
