I'm populating the results div with images from jsonp call. The images are displayed like
<li><img class="abs" src"..."/></li>
<li><img class="abs" src"..."/></li>
<li><img class="abs" src"..."/></li>
...
I'm using the following jquery code to do a simple task such as displaying the tag name when an image with .abs is clicked on This should return IMG. But instead i am getting uncaught exception: Syntax error, unrecognized expression: #
in firefox firebug. What am i doing wrong.
$('.abs').live('click',function(){
console.log(this.nodeName);
});