B
A
B
A
B

Add jQuery & Vanilla JS methods - will use jQuery if avaliable.  dd