execute a fuction on the first element matching selection using Jquery
<p>I know <code>$('.test').each(testFuntion);</code> invokes the <code>testFunction</code> for all matching <code>.test</code> elements on the page. How do I tell it to do just the first matching one.</p>

<p>I tried <code>$('.test:first').each(testFuntion);</code> and it still seems to run for all of them.</p>
