jQuery - programming style - many bindings vs. conditional single one
<p>I frequently see code like that:</p>

<pre><code>$("#foo").live("mouseover mouseout", function(e) {
    if (e.type == "mouseover") {
        $("#foo").append("&lt;div id='bar'&gt;");
    } else {
        $("#bar").remove();
    }
});
</code></pre>

<p>instead of more self-explanatory in my opinion:</p>

<pre><code>$("#foo").live("mouseover", function(e) {
    $("#foo").append("&lt;div id='bar'&gt;");
})
.live("mouseout", function(e) {
    $("#bar").remove();
});
</code></pre>

<p>the same goes with</p>

<pre><code>$('#contentPageID, #itemURL').change ( function () {
    if ( $(this).is('#contentPageID') )
        ...
    else
        ...
});
</code></pre>

<p>does it have any purpose or is it just different coding style (counter intuitive in my point of view) ?</p>
