The Subject says its all.
document.getEle mentById('id');
only return an object with id name.
I am looking for a function
return array of objects.
document.getAll ElementIds();
BTW, I am also looking for
document.getAll ElementNames();
document.getEle mentByName("nam e");
function?
where "name" is from HTML
<tag name="document_ name" ....>
similar to
<tag id="id_name" ....>
document.anchor s return array of <a>anchor</a>
document.forms return array of <form>
document.images return array of <img>
document.links return array of <a>
But why there is no
document.ids return array of ids?
document.getEle mentById('id');
only return an object with id name.
I am looking for a function
return array of objects.
document.getAll ElementIds();
BTW, I am also looking for
document.getAll ElementNames();
document.getEle mentByName("nam e");
function?
where "name" is from HTML
<tag name="document_ name" ....>
similar to
<tag id="id_name" ....>
document.anchor s return array of <a>anchor</a>
document.forms return array of <form>
document.images return array of <img>
document.links return array of <a>
But why there is no
document.ids return array of ids?
Comment