I have div that contains a long text, including other HTML markup (<h1>
, <b>
, etc). The div has the following css rule:
height: 100px; overflow: hidden;
Is there a jQuery function that gives me the part of the text that is overflowing the specified div bounds, so that I can append it to another div?