JSFiddle - React, Tailwind, and code Playground

by 77van

HTML

<iframe scrolling="no" id="iframe_id" width="100%" height="100" src="http://jquery.com/"></iframe>

<a id="button3" href="#">click</a>
<br>
   and next right click the iframe, "reload frame" so see the scroll

JavaScript

$(document).ready(function(){ 
$("#button3").click(function(){
    $( "#iframe_id" ).attr( "scrolling", "yes" );});  
});