#4495 closed bug (invalid)
$('#inputElement').text() returns empty string in IE6
Reported by: | tw2080 | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.3.2 |
Component: | unfiled | Version: | 1.3.2 |
Keywords: | IE6, text() empty string | Cc: | |
Blocked by: | Blocking: |
Description
When I try to get the text value of a single input element in IE6, $('#inputElement').text(), an empty string is returned. In the same time document.getElementById('inputElement').value returns the correct value.
Change History (4)
comment:1 Changed 14 years ago by
comment:3 Changed 14 years ago by
If you want the value of an input element, use .val()
and not .text()
comment:4 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
A small change in the code at line 208 fixes this problemm:
(208) text: function( text ) {