title: Check two id's on button press
body: <p>This is my current code:</p>
  
  <pre><code>&lt;script&gt;
  $('#register').click(function (e) {
      if ($('#company_f').val().length == 0) {
          $('#company_f').css("border", "solid 1px red");
          return false; // or e.preventdefault();
      }
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>How can i changed this code to check for id company_f and telephone_f? This is what i've tried:</p>
  
  <pre><code>if ($('#company_f').val().length == 0 OR ($('#telephone_f').val().length == 0 ) {
  </code></pre>