Check if the value is empty
<p>How is the "check" made for this to check if a textfield is empty?</p>

<p>Jquery:</p>

<pre><code>$("#AddGoogleMap").click(function () {      
    if($('#googleMapCity').val()==null) {
        alert("You need to fill out a city");
    } else {
     // do something
    }
</code></pre>
