title: Removing tab space from text box in Javascript
body: <p>How can I remove tab space value from a text box. My functional code is::</p>
  
  <pre><code>function validTitle() {
  if (window.document.all.dDocTitle.value == "") {
  alert("Please enter the Title");
  window.document.all.dDocTitle.focus();
  return false;
  } 
  return true;
  }
  </code></pre>
  
  <p>I want to add 1 more condition for removing tab space in text box for value captured with window.document.all.dDocTitle.value</p>