Ticket #4274 (closed bug: invalid)
jQuery.index() is +1 for document.body elements in IE 7
|Reported by:||dandoyon||Owned by:|
|Keywords:||jQuery.index() inconsistent I/E 7||Cc:|
Was playing around for first time with index and found anomaly with IE 7. Doesn't happen on Mozilla/Chrome/Safari. It looks like IE is adding an element to DOM before the document.body.
The indices for dom elements in I/E 7
<html> = 0 <head> = 1 <body> = 3