text() returns value with a space on the end of <li>s in ie7 - ie8+, ff, chrom, opera all do not.
|Reported by:||callumrogers@…||Owned by:|
|Keywords:||ie6 ie7 ie8||Cc:|
Spent an hour or so debugging some code which uses the .text() function on li's - take a look at the console output of this in ie7 vs different browsers: http://jsfiddle.net/gAGjk/3/
innerText is also returning the same thing, so I assume it's an ie7 DOM or js bug; either way, it would be nice for jQuery to realise this and present a consistent cross-browser behaviour.
Change History (2)
comment:1 Changed 5 years ago by timmywil
- Component changed from unfiled to manipulation
- Milestone changed from None to 1.next
- Priority changed from undecided to low
- Status changed from new to open