Who Am I or How do I know wich Element I'm dealing with?
<p>hey,
take a look at this code:</p>

<pre><code>$("li,p").click(function(){

   // how do I perform a test, and know wich Element it is ?

   if( /* I'm a &lt;li/&gt; */ )
       // Do this for the &lt;li/&gt;

   if( /* I'm a &lt;p/&gt; */ )
       // Do this for the &lt;p/&gt;
})
</code></pre>

<p>thanks guys ^^</p>
