Am I the only one that can never remember whether I want to use .before()/.after() or .insertBefore()/.insertAfter() in
2016-06-28 15:05:40 GMT
i before e except after c.
Thirty days hath September, April, June, and November.
Two wrongs don't make a right but three lefts do.
Hey, it's CAJ!
Please Excuse My Dear Aunt Sally.
Ell Bee carless
My mother told me to pick the very best one, and you are not it.
Same with append vs appendTo. My brain doesn't like to think in the direction of the later. $('<cup class="tea earlgrey hot">').appendTo('
') 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.
Yeah, I struggle with the prepend()/append() vs. prependTo()/appendTo(), as well. I thought Picard always drank International Coffees rather than tea, though.
Best of Mokum