view tests/textarea.ur @ 2306:a7cc6c29d836

New release
author Adam Chlipala <adam@chlipala.net>
date Sun, 20 Dec 2015 14:25:46 -0500
parents 71bafe66dbe1
children
line wrap: on
line source
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>