JSFiddle - React, Tailwind, and code Playground
by SLaks
HTML
<div>
<button>1</button>
<button>2</button>
<button>3</button>
<button>4</button>
</div>
<select class="LiveLog" size="10"></select>
<select class="BindLog" size="10"></select>
JavaScript
$('div button:not(:last)').bind('click', function(e) {
$('.BindLog').prepend($('<option />', {
text: this.tagName + " bind-clicked!"
}));
}).live('click', function(e) {
$('.LiveLog').prepend($('<option />', {
text: this.tagName + " live-licked!"
}));
});