[jQuery] Any documentation for element.nodeIndex?
Hello,
I was editing some javascript code yesterday that happened to use
jquery. Part of the code selected two elements via jquery. Then the
original author used nodeIndex to determine the position of each of
these nodes in their parents. I could not find any documentation on
nodeIndex on the jQuery site or anywhere else on the internet. It
seemed to work in IE8, but I did not see the property from FireBug in
FireFox 3.5. So I removed the call to nodeIndex and used a for loop to
calculate my own equivalent of the nodeIndex.
Is nodeIndex officially supported or meant for internal use? Is it
documented anywhere?
Regards,
Justin Dearing
http://justaprogrammer.net