On Monday, July 11, 2016 at 9:33:04 PM UTC-4, Sayth Renshaw wrote:
Sorry but I can only see @images in the each, and everywhere else it's referenced as my-image.
Sayth
Thanks for the reply, sorry if it was confusing. I can't figure out why my Jquery code doesn't grab the image selected and places it in the canvas.
if i put [4] at the end of var imgElement (as seen below) The 4th image from the data base will display and that all makes sense of course. But I don't know how to display the image the user specifically selected.
var imgElement = document.getElementsByClassName("my-image")[4]
Any ideas?
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)