I managed to get a link to open in an iframe. But since that frame is at the bottom of the page, I want to scroll there at the same time in one click. How?
Link
<a href="ccs.html" target="result-view"><button id="click" class="btn
btn-table">View Details</button> </a>
iframe with resize to content
<iframe name="result-view" width="100%" scrolling="no" onload="resizeIframe(this)"></iframe>
<script> function resizeIframe(obj) {
obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px'; } </script>