I am using the .after() for adding some html to my page when I click a button. But when I add the html I want to skip the first place and go to the second.
$(this).after(newtemplate);
Basically I want .after() +1
I am using the .after() for adding some html to my page when I click a button. But when I add the html I want to skip the first place and go to the second.
$(this).after(newtemplate);
Basically I want .after() +1
Copyright © 2021 Jogjafile Inc.
I believe what you're looking for is
append(newtemplate).http://api.jquery.com/append/