0
![Stack Overflow](http://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png)
At the start of a page I have:
<input id="input_post_id" type="text" name="varPostId[]" value="">
I then have a series of images and a remove button, then with JS i click on the remove button, I get the image id which i've given within a data attribute of the current remove button:
<button type="...