comparison tests/select.lac @ 154:e2b185379592

HTML select
author Adam Chlipala <adamc@hcoop.net>
date Thu, 24 Jul 2008 11:16:54 -0400
parents
children
comparison
equal deleted inserted replaced
153:cfe6f9db74aa 154:e2b185379592
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 <lselect{#A}>
8 <loption value="A">A</loption>
9 <loption value="B">B</loption>
10 </lselect>
11 <submit action={handler}/>
12 </lform>
13 </body></html>