title: Remove Image associated with button
body: <p>I am developing an app where someone can select multiple Images from a gallery. I've appended a button with every image which calls the function onclick. How can I remove the image appended with button onclick ? </p>
  
  <pre><code>&lt;div id="images"&gt;
      &lt;img src="www.xyz.com/qwert.jpg" class="hi"&gt;
      &lt;input type="button" class="multiple"&gt;
      &lt;img src="www.xyz.com/qwerty.jpg" class="hi"&gt;
      &lt;input type="button" class="multiple"&gt;
      &lt;img src="www.xyz.com/qwertww.jpg" class="hi"&gt;
      &lt;input type="button" class="multiple"&gt;
  &lt;/div&gt;
  </code></pre>