showing results for - "cannot set property 27innerhtml 27 of null"
Francesco
07 Feb 2017
1If your img element looks like this,
2
3<img id="idToTarget" src="">
4and SRC is set to a valid resource URI, then
5
6document.getElementById('idToTarget').src = SRC
7is how that line would be written.
8
9
10
11