Home › Forums › JavaScript › CSS transitions don't work on newly appended elements. › Reply To: CSS transitions don't work on newly appended elements.
August 5, 2014 at 12:38 pm
#177788
__
Participant
I’ll make them anonymous when I’m finished. But, I’m not sure if I’ll have to ref in another part or not. That’s why I named them.
Either way works. As a side note, I have stopped using named functions entirely in favor of assigning anon functions to variables/ properties.
var phoneCheck = function(){
/* do phoneCheck stuff */
};
This allows you to reference them, plus is better for modular code (managing dependencies, scope, etc.).