I want to split dynamic div content into two div content with specific height using jQuery or JavaScript?
for example here you can see 10 number will come and want to split into two divs. i am using number here but any content will come so how we can do this? please help. thanks in advance.
<div id="data">Lorem ipsum dolor sit amet, consectetur adipiscing elit.Vestibulum aliquam eget massa eu commodo. Vivamus pharetra ante in orci pharetra, vitae pulvinar dolor viverra. Vestibulum massa metus, pretium ut elementum quis, molestie et quam. Sed vitae nisi lobortis, condimentum orci sed, hendrerit elit. Ut erat mauris, posuere a metus vitae, accumsan tincidunt risus.Nulla nec semper nisi.</div>
Simple content want to split into two div with specific line. suppose div has 10 lines and i want to split content from line 8. so line no 1 to 7 in one div and line no 8 to 10 in other div.