title: how to set border color of a texbox using jquery
body: <p>How to set a default border color of a control using jquery.</p>
  
  <pre><code>       if (_userName.val().trim() == "") {
              errMsg += "\nUserName is a mandatory field.";
              _userName.css('border-color', 'red');
          }
          else {
              _userName.css('border-color', 'red');//Set border-color as loaded 
  //when page was loaded
          }
  </code></pre>
  
  <p>How to Set border-color as loaded when page was loaded.</p>