jQuery bug elem is undefined if ( elem.nodeName ) {
<p>You might saw my previous topic about jQuery upgrade. So finally we have upgraded the jQUery to 1.6.1 from 1.4.2 but we encountered the following issue:</p>

<pre>
elem is undefined

if ( elem.nodeName ) {

</pre>

<p>So does anyone know if this issue of jQuery or is it our local bug? Has anyone else encountered the same problem. Any help will be appreciated.</p>
