summaryrefslogtreecommitdiff
path: root/tests/select.ur
blob: d97e6a55d1facfde7278cd886530f3f380203e5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>