title: jquery border color changes onblur function
body: <p>I have the following problem: I have a form with two text input fields, and I want to change the border color when one of the fields has empty, and get it set back when it has enter anything</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;form&gt;
  &lt;input class="calc_input" type="text" name="start_date" id="start_date" /&gt;
  &lt;input class="calc_input" type="text" name="end_date" id="end_date" /&gt;
  &lt;/form&gt;</code></pre>
  </div>
  </div>
  </p>