Mercurial > urweb
diff tests/textarea.lac @ 152:67ab26888839
textarea
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 24 Jul 2008 10:41:53 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/textarea.lac Thu Jul 24 10:41:53 2008 -0400 @@ -0,0 +1,10 @@ +val handler = fn x => <html><body> + You entered: {cdata x.A} +</body></html> + +val main = fn () => <html><body> + <lform> + <ltextarea{#A}/> + <submit action={handler}/> + </lform> +</body></html>