How to insert simple text after element?

How to insert simple text after element?

Assume I have a html code like:

  1. <div class=someclass"> ....</div>

How do I insert a simple text (=without a wrapping element) after the <div> element?


  1. $("sometext").text().insertAfter($(".someclass"));

does not work.