Hi!
In the example below, I'm wondering if its ok if you try to tween myElement if the selector found no elements to match?
var myElement = $(div).find('.foundit');
Typically I check to be sure the element exists with something like...
if(myElement.length > 0){...
before I would tween it. But in a project I am currently working on, I realized that I forgot to do this, yet no errors are being thrown when the element is empty. So maybe I have been adding the conditional statement unnecessarily?
Thanks for your thoughts!