100%
|
Post by Aaron on Apr 15, 2005 15:18:35 GMT -8
So can any of you tell me the differences between these two?
td[t]
td.item(t)
I've seen some of these but never knew the difference .. Ideas?
|
|
|
Post by Eric on Apr 15, 2005 16:49:56 GMT -8
There really isn't one. It's just two different methods of obtaining the same thing. At least I think so...
|
|
|
Post by Kenshin on Apr 15, 2005 17:09:05 GMT -8
Yea its just a different way of doing things I've picked up off of a_leon..It works very well to Heres an example: <script> Object = document.getElementsByTagName('TD') Object.item(5).innerHTML+='<a href="index.cgi?action=home">Home</a>' </script>
it can also be used for like TD[5]
|
|
|
Post by CrAzY_J on Apr 15, 2005 18:25:43 GMT -8
ow i never saw this before, but ill just stick to TD[5] XD
|
|
100%
|
Post by Aaron on Apr 16, 2005 7:23:53 GMT -8
That's what I thought.
Thanks!
|
|
|
Post by Uchiha Susuke on Apr 18, 2005 7:45:25 GMT -8
it's basically a way to make your code longer XP lol, that's about it, another way of grabbing a branch of an array
|
|