bboyle / html5-constraint-validation-API

A jQuery polyfill for the HTML5 constraint validation API
MIT License
3 stars 1 forks source link

investigate better event management #4

Open bboyle opened 12 years ago

bboyle commented 12 years ago
  1. test use of .delegate() to bind events. does it remove the need to unbind and rebind?
  2. test jquery 1.7 .on() event
bboyle commented 12 years ago

.delegate() works but appears to execute after any other handles that use .bind() which could be problematic.

bboyle commented 12 years ago

IE6 may not work with .delegate()—further investigation required.

Pattern to test:

$( document ).delegate( 'form', 'submit', submitHandler );