JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://www.marcgunther.com/wp-content/uploads/google.jpg"></script>
<button id="b">Click</button>
<div id="junk"><img src="google.jpg"/><br>Text<br><img src="google.jpg"/></div>
JavaScript
$('document').ready(function(){
$('#junk').hide();
$('#b').button();
});
$('#b').click(function(){
$('#junk').children('img').remove();
$('#junk').show();
});