We are going to create a helper function like jQuery after(...)
or insertAfter(...)
.
Because jQuery already claimed insertAfter
, we'll use other term for the function name. Let's call it putAfter
.
In this, we actually will implement insertBefore
method.
It goes like this:
How to Use
Thanks for visiting. 🙂
Comments
Post a Comment