jQuery has an .after() method, and also an .insertAfter() method.
.after()
.insertAfter()
What\'s the difference between them? I think I can use .after()
Check the documentation:
$("#foo").after("p")
is the same as:
$("p").insertAfter("#foo");