Mercurial > urweb
comparison tests/select.ur @ 244:71bafe66dbe1
Laconic -> Ur
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 31 Aug 2008 08:32:18 -0400 |
parents | tests/select.lac@e2b185379592 |
children | fe018cbdd41e |
comparison
equal
deleted
inserted
replaced
243:2b9dfaffb008 | 244:71bafe66dbe1 |
---|---|
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> |