title: Or statement in JavaScript?
body: <p>I have this if condition in JavaScript, at the moment what it does is loads a drop down list when status of a order is ready for despatch. I also want the if condition to work for OR Despatched.</p>
  
  <p>The if condition is below </p>
  
  <pre><code>if ($(this).closest("td").closest("tr").find("input.pcss-product-order-status").val() == "ReadyForDespatch")
  </code></pre>
  
  <p>How do I add a or for this i.e. <code>|| "Despatched"</code> is it something like</p>
  
  <pre><code>if ($(this).closest("td").closest("tr").find("input.pcss-product-order-status").val() == "ReadyForDespatch" || "Despatched")
  </code></pre>
  
  <p>Thanks</p>