JSFiddle - React, Tailwind, and code Playground

by dmethvin

HTML

<form>
    <input type="submit" name="submitted"/>
</form>

JavaScript

// #6667 (IE)
jQuery(function() {
    var first = 'body';
    var second = 'body';
    jQuery(first).delegate('foobar','click', jQuery.noop);
    jQuery(second).delegate('form','submit', function(){
        alert('submit');
        return false;
    });
});