summaryrefslogtreecommitdiff
path: root/tests/radio.lac
blob: e40872f8e0108093a87ab7c2817c56acf678566b (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>
                <radio{#A}>
                        <li> <radioOption value="A"/>A</li>
                        <li> <radioOption value="B"/>B</li>
                </radio>
                <submit action={handler}/>
        </lform>
</body></html>