JSFiddle - React, Tailwind, and code Playground
HTML
<div id="Photo1">
<input id="Photo" type="image" src="http://img87.imageshack.us/img87/5673/rotatetrans.png" border="0" name="submit" alt=""/>
</div>
JavaScript
function hideOptionPhoto(){
var element = document.getElementById("Photo1");
var child=document.getElementById("Photo");
element.removeChild(child);
};
window.onload = function() {
hideOptionPhoto();
};