I just spent \'hours\' with the following scenario: (all back to the basics)
$(\'#typo\').bind(\'click\' etc ...
I had a typo in the selec
The jquery selector returns an array of DOM Elements so if you check the length of it, if it is greater than 0 it found something, if it is equal to 0 it didn't
if($("selector").length > 0) found;