Error bind click on jquery check value empty
<pre><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"&gt;&lt;/script&gt;
&lt;script  type="text/javascript"&gt;
$(document).ready(function(){
   $('#btnSubmit').bind('click', function(){
        var option = $('#option1').val();
        if(option == ''){
            alert('Answer empty');
        }
        return false;
   }); 
});
&lt;/script&gt;
</code></pre>

<p>...</p>

<pre><code>&lt;input type="radio" id="option1" name="option1 /&gt;
&lt;input type="submit" name="btnSubmit" id="btnSubmit" value="submit" /&gt;
</code></pre>

<p>...</p>

<blockquote>
  <p>=> error click button submit not alert</p>
</blockquote>
