12-03-2008, 02:06 PM
|
#2 (permalink)
|
|
The Reckoner
Join Date: Sep 2007
Posts: 437
Thanks: 22
|
That's the correct behaviour because thumbs is an object. As JavaScript is very OOP. So you will need to access its methods. Such as like to get the actual SRC of the image, use the following:
javascript Code:
var source = thumbs.getAttribute('src'); alert("Image's Source is: " + source);
__________________
Any fool can write code that a computer can understand. Good programmers write code that humans can understand.
|
|
|
|