events jQuery

Estimated reading time: 1 minute

click

$(function() {
    $("#demo").click(function() {
        $("body").html(Date());
        alert("ok");
    });
});
js, jquery