title: Some problem with jquery form
body: <p>This my code:</p>
  
  <pre><code>$(document).ready(function() {
      $('.submit').click(function() {
          var answer_text = $("#answer_text").val();
          if (answer_text === '' || undefined === $("input[name='answer[scale]']:checked").val()) {
              alert('error!!');
              return false;   
          }
          else {
              alert('yeah! cool baby!');
          }
      }
  });
  </code></pre>
  
  <p>Problem: jQuery doesn't see the <code>||</code>. I don't know what to do. I tried to do something like: </p>
  
  <pre><code>if
  
     else if
  
  else
  </code></pre>
  
  <p>or</p>
  
  <pre><code>if 
  
    else
  
      if
  
      else
  </code></pre>
  
  <p>Don't know what to do. please help me, maybe some error and mistakes with OR operator? or what?</p>