title: Re-enabling Submit after prevent default
body: <p>I am trying to unbind or reenable the prevent default so my form will submit on good data.</p>
  
  <p>I have tried multiple examples.   Here is my code and some of the examples i tried.</p>
  
  <p>This code works great for what i want to. Just the last thing and resetting the div which i can implement after i get this.</p>
  
  <pre><code>function lengthRestriction(elem, min, max) {
      var uInput = elem.value;
      if (uInput.length &gt;= min &amp;&amp; uInput.length &lt;= max) {
          return true;
      } else {
          var cnt = document.getElementById('field');
          cnt.innerHTML = "Please enter between " + min + " and " + max + " characters";
          elem.focus();
          $('#ShoutTweet').submit(function(e) {
              e.preventDefault();
  
              //bind('#ShoutTweet').submit();
              //$('#ShoutTweet').trigger('submit'); 
          });
      }
  }​
  </code></pre>
  
  <p>i have a jsbin set up too <a href="http://jsbin.com/ebedab/93" rel="noreferrer">http://jsbin.com/ebedab/93</a></p>