title: Reset an input control's border color (HTML/Javascript)
body: <p>Does anyone know how to reset the border color of an input control once you have modified it using javascript? Useful for validation by highlighting fields that have incorrect or invalid data in them etc.</p>
  
  <p>E.g. changing the border:  </p>
  
  <pre><code>document.getElementById('myinput').style.border = '1px solid red';
  </code></pre>
  
  <p>how to reset? the next line just removes the border completely...  </p>
  
  <pre><code>document.getElementById('myinput').style.border = '';
  </code></pre>
  
  <p>if I reset the border color back to a particular color (e.g. black or grey etc), it may look strange in some browsers/operating systems that sort of 'theme' the controls...</p>
  
  <p>thanks heaps!</p>