What is the fundamental difference between using $(this) vs this
$(\'.viewComments\').click(function(ev){ //returns the desired value alert(this.getA
$(this) is a jQuery object and you can use the power and beauty of jQuery, but with 'this' keyword, one need to use native JavaScript.