Idiomatic way of calling a jQuery function on a Javascript object?
<p>Given a Javascript DOM object, what is the most idiomatic way of calling a jQuery function on it? Currently, I am using:</p>

<p><code>$('#' + object.id).someFunction()</code></p>

<p>However, this doesn't feel quite right. Isn't there a better way?</p>
