Are you first timer at Why not join us and start exchange your programming knowledge with everyone. Register today!

jQuery - insertafter() method

0 votes
added Mar 16 in jQuery by Callum Sergeant (1,480 points)
edited Mar 30 by LC Marshal

if body has this class, insertafter this

if ($("body").hasClass('page-property-detail')) {

1 Response

0 votes
responded May 3 by LC Marshal Lieutenant (14,830 points)

Move element after other element

$('.forum-how-it-works').insertAfter('.container.m-b-25'); - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.