0
Js load image
Hi, I seem to experiencing issues displaying images from .src using jquery & js.
e.g.
e.g.
var _img = document.getElementById('id1');var newImg =newImage;
newImg.src ='http://whatever';
newImg.onload =function(){
_img.src =this.src;}
0
Alexander Blach (Developer) 11 years ago
Is that the actual code? There should be a space between "new" and "Image". Also, parentheses are missing:
Customer support service by UserEcho