jQuery determine which element called function
<p>Suppose I have</p>

<pre><code>$('#routingNumber').removeClass(validationClass('#routingNumber'));
</code></pre>

<p>(Where <code>validationClass()</code> is a regex that returns a class that determines the validation.)</p>

<p>Is there any way to trace that <code>validationClass()</code> was called on $("routingNumber") without explicity passing in the parameter <code>#routingNmber</code></p>

<p>Phrased differently, is there anyway that the function <code>validationClass()</code> can know it should perform the regex on <code>#routingNumber</code></p>

<p>I want to do this for ease of use, and in some cases it will be necessary.</p>

<p>Note: using <code>$(this)</code> as the parameter wont work, since the click event to remove the class is not bound to <code>#rountingNumber</code></p>
