diff options
author | 2008-07-24 11:16:54 -0400 | |
---|---|---|
committer | 2008-07-24 11:16:54 -0400 | |
commit | 5f895c17f35466d10ef80cd7146638d8505e4e9b (patch) | |
tree | f841aca63a6b80672762ff18a2a49a6630caa446 /tests | |
parent | 6f1206729039e45e032c5ba7f04d072f41dc9961 (diff) |
HTML select
Diffstat (limited to 'tests')
-rw-r--r-- | tests/select.lac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/select.lac b/tests/select.lac new file mode 100644 index 00000000..d97e6a55 --- /dev/null +++ b/tests/select.lac @@ -0,0 +1,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> |