Is it possible to have a button that when clicked it will extract the whole code within a specific div tag? Is it possible in javescript, jquery, or php?
Say for example:
<div class="extactMe">
<a href="http://stackoverflow.com"><img src="icon.png"></a>
</div>
If I click the button "Extract" on the web page for example, the whole div tag from <div class="extactMe">
to </div>
will be copied to a textarea. Please advise thank you.