JSFiddle - React, Tailwind, and code Playground
HTML
<button type="button">Click Me!</button>
<iframe id="iframe" src="http://distributioncpm.com/468x60.php" height="60" width="460">
<!--Is there any way I can make the the Iframe click the w3 picture by just clicking the button?-->
JavaScript
$('button').on('click', function(e){
$('#iframe').contents();
});
$(document).ready(function() {
$("#iframe")[0].click();
});