title: onclick not firing for submit input when attached using jquery
body: <p>html:</p>
  
  <pre><code>&lt;input id="save "type="submit" value="Create" class="btn btn-primary"/&gt;
  </code></pre>
  
  <p>javascript that register onclick (IsValid is a function that validates before submiting, returns true of false)</p>
  
  <pre><code>$('#save').click(function () {  
   return IsValid();
  });
  </code></pre>
  
  <p>Note that this exact same code works if I write:</p>
  
  <pre><code> &lt;input id="save "type="submit" value="Create" class="btn btn-primary" onclick='javascript: IsValid();'/&gt;
  </code></pre>
  
  <p>This is another option without modifying the markup (createForm is the form)</p>
  
  <pre><code>$('#createForm').submit(function () {   
   return IsValid();
  });
  </code></pre>
  
  <p>Why $('').click is not registering my event handler?</p>
  
  <p>Form looks like this:</p>
  
  <pre><code> &lt;form method="post" id="createForm" class="well" action="/ScheduleWorkDay/Create" novalidate="novalidate"&gt;
  </code></pre>