jQuery - insert element after element with .after

0 votes
226 views
added Jul 3, 2019 in jQuery by LC Marshal Captain (25,790 points)
contentPara.after(parallaxAdCon);

 

1 Response

0 votes
responded Aug 14, 2019 by LC Marshal Captain (25,790 points)
heroBg.after('<div class="hero-bg-clone" style="background-image: url('+bgImg+');"></div>');

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...