title: Getl All Checked Checkboxes not working with input="button"
body: <p>I made a function that gets all checkboxex values..</p>
  
  <pre><code>$('input[type=checkbox]').each(function() {
    var sThisVal = 0;
    alert(this.checked);
    if (this.checked) {
      sThisVal = "1";
    } else {
      sThisVal = "0";
    }
    sList += (sList == "" ? sThisVal : "," + sThisVal);
  });
  </code></pre>
  
  <p>When I create the button that executes this functions with the tag <code>&lt;button&gt;</code> works well... But i have to change to the tag <code>&lt;input type='Button'&gt;</code>. When I change, the function does not enter in <code>$('input[type=checkbox]').each()</code></p>
  
  <p>someone knows why?</p>
  
  <p>If I rollback to the tag  works..</p>
  
  <p>regards!!!</p>
  
  <p>Rafael</p>