Closed Bug 110736 Opened 23 years ago Closed 23 years ago

Textarea's content not visible

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 17003

People

(Reporter: martin, Assigned: jst)

Details

 
Martin: we need a little more information than this ;-)
Oops, hit enter to fast, here we go:

If there's an element with a form and a textarea, after the elements' content is
rewritten, the textarea's content will not be visible (or sent when submitting
the form)

example:

<html>
<head>
<title>Untitled</title>
</head>

<body>

<div id="d">
<form>
<textarea name="ta" cols="20" rows= "5">default value text</textarea>
</form>
</div>

<a href="#"
onclick="document.getElementById('d').innerHTML=document.getElementById('d').innerHTML">click</a>

</body>
</html>

when clicking the link, all content in the textarea disappear. im using
2001111808 but tested on mac and 0.9.5 and it is the same.
Summary: Textarea → Textarea's content not visible

*** This bug has been marked as a duplicate of 17003 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
marking verified
Status: RESOLVED → VERIFIED
Component: DOM: HTML → DOM: Core & HTML
QA Contact: stummala → general
You need to log in before you can comment on or make changes to this bug.