/[suikacvs]/www/test/html/edit/textarea-accept-text-html.html
Suika

Contents of /www/test/html/edit/textarea-accept-text-html.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Tue Apr 11 00:48:01 2006 UTC (19 years, 3 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/html
Error occurred while calculating annotation data.
New tests

1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <title>textarea @accept='text/html'</title>
5 </head>
6 <body>
7 <h1><code>textarea</code> <code>@accept='text/html'</code></h1>
8
9 <p>
10 <textarea accept="text/html" name="edit" id="edit"
11 style="width: 90%; height: 20em">&lt;p>Paragraph...&lt;/p></textarea>
12 </p>
13
14 <h2>Source</h2>
15
16 <p><button onclick="
17 document.getElementById ('result').innerText = '';
18 document.getElementById ('result').textContent = '';
19 document.getElementById ('result').appendChild
20 (document.createTextNode (document.getElementById ('edit').value));
21 ">Update</button></p>
22
23 <pre id="result"></pre>
24
25 </body>
26 </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24