When I use the below, I cannot get the jQuery this to hide the element.
this
$(\'.purplePanda\').click(function(e){ this.hide(); });
Modify your code from that :
$('.purplePanda').click(function(e){ this.hide(); });
To This:
$('.purplePanda').click(function(e){ $(this).hide(); });
Should work now.