comparison tests/radio.lac @ 153:cfe6f9db74aa

radio and radioOption
author Adam Chlipala <adamc@hcoop.net>
date Thu, 24 Jul 2008 11:10:23 -0400
parents
children
comparison
equal deleted inserted replaced
152:67ab26888839 153:cfe6f9db74aa
1 val handler = fn x => <html><body>
2 You entered: {cdata x.A}
3 </body></html>
4
5 val main = fn () => <html><body>
6 <lform>
7 <radio{#A}>
8 <li> <radioOption value="A"/>A</li>
9 <li> <radioOption value="B"/>B</li>
10 </radio>
11 <submit action={handler}/>
12 </lform>
13 </body></html>