Slide 28
Slide 28 text
Oh Jeesh!
$('#content a.button')
.bind('click', function (e) {
$(this).data('clicked', true).unbind();
e.preventDefault();
})
.css({ opacity: 1 , color: 'red' })
.fadeOut(250);
$.map([ 'a', 'b', 'c' ], function (letter) {
return letter.toUpperCase();
})
$.ajax('/data', function (response) {
$('#content').html(response);
});
and ender has a standard build to get your going, weighing in at 72K and providing a selector
engine (Qwery), dom manipulation (bonzo), event binding (bean), and handling of the
domready event (domReady)