I would suspect this to work at first:
if ($(\'#element\') == $(\'#element\')) alert(\'hello\');
But it does not. How does one test if ele
This should work:
if ($(this)[0] === $(this)[0]) alert('hello');
so should this
if (openActivity[0] == $(this)[0]) alert('hello');