Ticket #2094 (closed bug: wontfix)
append to textarea broken in firefox
| Reported by: | coptang | Owned by: | brandon |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.2.4 |
| Component: | core | Version: | 1.2.1 |
| Keywords: | textarea, append, appendChild | Cc: | |
| Blocking: | Blocked by: |
Description
This is a browser bug but as it breaks jQuery functionality I think it is relevant to raise as a jQuery bug.
append() fails when used on a textarea that has had its content changed (either by typing or by amending the .value through the DOM)
Here is a simple page that demonstrates the bug: http://terrordome.co.uk/appendbug/
In IE (6 and 7) - no bug, works as expected In Firefox 2.0.0.11 - append and appendChild fail on an already edited textarea Opera (9.23) - append and appendChild always fail Safari (3.03 on win32) - existing value is ignored and just the appendChild(s) values are used
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

My mistake, bug title should also mention opera and safari but I can't seem to edit.
Also, wikiformatting has made the last paragraph less than clear. Should be:
In IE (6 and 7) - no bug, works as expected In
Firefox 2.0.0.11 - append and appendChild fail on an already edited textarea
Opera (9.23) - append and appendChild always fail
Safari (3.03 on win32) - existing value is ignored and just the appendChild(s) values are used