title: onChange validation for submit
body: <p>For a field I have validation for onChange() event. When I change the field and click on submit button. Does the onChange() events checks the validation.</p>
  
  <p>In my case it is not checking.</p>
  
  <p>Any help or suggestions please</p>
  
  <pre><code>&lt;textarea id='abc' name='abc' onChange="checkvalidation('abc','true')&gt;ddd&lt;/textarea&gt;
  
  function checkvalidation(field, numericOrNot){
  var Value = '#' + field;
      var fieldval = $(field).val();
      if(numericOrNot) {
          if(isNaN(fieldval)) {
              alert("not a number");
              return false;
          }
      }
      return true;
  }
  </code></pre>