Try to log it to the console. Right know, it's empty. To load an image, use the src tag:
The image is loaded, but you can't see it yet, because it isn't appended to the DOM. Let's use jQuery to do what is needed to do!
In Internet Explorer, the onload function won't run, unless you place it before the definition of src attribute:
Go and have some fun with the onerror attribute! It runs when an error occurs while loading an image.
Then, get the canvas and a context and use drawImage function.
The first parameter of the drawing function is the image object itself. The second and third parameters are for placing the image along the x and y coordinates. Note that the (0, 0) coordinate is the top left corner. Also note that canvas element is not supported yet in Internet Explorer.