I’m new to jQuery, sorry for asking this. I need to add a new <div> element after each element that have .translatable class, just when the page load and just for one time:
$(document).ready(function(){
// Something like this would be perfect
$(".translatable").appendRighAfter("<div></div>");
});
I know i should use append(), but i have no parent container to append to. Thank you.
You could use the
afterfunction –http://api.jquery.com/after/