JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://ajax.microsoft.com/ajax/jquery.validate/1.7/jquery.validate.js"></script>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/themes/ui-lightness/jquery-ui.css">
<div>click me</div>
<div>click me</div>

JavaScript

$.fn.bindUp = function(type, fn) {

    type = type.split(/\s+/);
    
    this.each(function() {
        var len = type.length;
        while( len-- ) {
            $(this).bind(type[len], fn);

            var evt = $.data(this, 'events')[type[len]];
            evt.splice(0, 0, evt.pop());
        }
    });
};


var $X = $('div');


$X.bind('click mouseenter', function() {
    alert('Two');
});
$X.bind('click mouseenter', function() {
    alert('Three');
});
$X.bind('click mouseenter', function() {
    alert('Four');
});
$X.bind('click mouseenter', function() {
    alert('Five');
});

$X.bindUp('click mouseenter', function() {
    alert('One');
});