JSFiddle - React, Tailwind, and code Playground

HTML

<img src="http://chetankalore.files.wordpress.com/2010/12/ruby.png" height="100" width="100" id="someimage"/>
<input type="button" id="button" />

JavaScript

$(function() {
    $('#button').click(function() {
        $('#someimage').toggle();
    });
});