How can I add an element after another element?

try using the after() method:

$('#bla').after('<div id="space"></div>');

Documentation

Leave a Comment