title: jQuery check if any text input has value
body: <p>I want to ask if there's a better way in jQuery to select multiple text input then check if any of them has a value. Here's my code: </p>
  
  <pre><code>if ($("#reference").val() != "" || $("#pin").val() != "" || $("#fName").val() != "" || $("#mName").val() != "" || $("#datepicker").val() != "") { /*logic goes here */ }
  </code></pre>