view tests/select.lac @ 180:c7a5c8e0a0e0

Cjrize EStrcat
author Adam Chlipala <adamc@hcoop.net>
date Sun, 03 Aug 2008 11:03:35 -0400
parents e2b185379592
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>
                <lselect{#A}>
                        <loption value="A">A</loption>
                        <loption value="B">B</loption>
                </lselect>
                <submit action={handler}/>
        </lform>
</body></html>