if i have a img as simple as this ==> <img src="dd.gif">
and this image is being moused over is there any way to chage its properties without giving it a name or id tag?
i can use something like this to target it but how can i use that to modify it?
and this image is being moused over is there any way to chage its properties without giving it a name or id tag?
i can use something like this to target it but how can i use that to modify it?
Code:
document.onmousemove = function(){ var e = arguments[0].target || event.srcElement; self.status = 'element: ' + e.nodeName; }
Comment