Am I the only one that can never remember whether I want to use .before()/.after() or .insertBefore()/.insertAfter() in #jQuery? .
i before e except after c. ‎- bentley
Thirty days hath September, April, June, and November. ‎- Catherine Pellegrino
Two wrongs don't make a right but three lefts do. ‎- Hey, it's CAJ!
Please Excuse My Dear Aunt Sally. ‎- Ell Bee
My mother told me to pick the very best one, and you are not it. ‎- Meg Vmeg
Same with append vs appendTo. My brain doesn't like to think in the direction of the later. $('<cup class="tea earlgrey hot">').appendTo('#Picard') returns you the cup of tea you just replicated. $('#Picard').append('<cup class="tea earlgrey hot">') returns a badass captain who's now in repose sipping his tea. ‎- Micah
Yeah, I struggle with the prepend()/append() vs. prependTo()/appendTo(), as well. I thought Picard always drank International Coffees rather than tea, though. ‎- Mr. Noodle