#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: | |
Blocked by: | Blocking: |
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 (4)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Owner: | set to brandon |
---|
comment:3 Changed 15 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
The .val() method should be used to get/set form values.
comment:4 Changed 15 years ago by
Milestone: | 1.2.2 → 1.2.4 |
---|
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