I have a page with a blog article on it. People can select part of this article and I want to store the part they have select, but not just the text on screen, the HTML source.
Example, the screen shows;
The Boerboel Breeders Association was established in 1983 in the Senekal district.
Where the full code is:
<p>
The Boerboel Breeders Association was <strong>established in 1983</strong> in the Senekal district.
</p>
So I want that when somebody selects "was established in 1983 in the Senekal district" it returns to me the source code as per:
was <strong>established in 1983</strong> in the Senekal district
I am using Javascript & jQuery.