S
seans
Hi,
Please, can somebody tell me how to do this?
I am using document.all in a script to retrieve the elements in a
document which have a certain id. document.all returns a reference to
an element or an array. If the id is unique within the document then
document.all returns a reference to the element. If there is more than
one element with the same id then an array is returned.
Is there some way of determining what type of object is returned? I can
look at the properties of the object but is there some other way of
finding out the object type?
Thanks in advance.
sean
Please, can somebody tell me how to do this?
I am using document.all in a script to retrieve the elements in a
document which have a certain id. document.all returns a reference to
an element or an array. If the id is unique within the document then
document.all returns a reference to the element. If there is more than
one element with the same id then an array is returned.
Is there some way of determining what type of object is returned? I can
look at the properties of the object but is there some other way of
finding out the object type?
Thanks in advance.
sean