Mercurial > urweb
view tests/checkbox.ur @ 1480:aa0c6382aa57
top.urs: More comments
author | Robin Green <greenrd@greenrd.org> |
---|---|
date | Tue, 28 Jun 2011 11:55:57 +0100 |
parents | 71bafe66dbe1 |
children |
line wrap: on
line source
val handler = fn x => <html><body> {if x.A then cdata "Yes" else cdata "No"} </body></html> val main = fn () => <html><body> <lform> <checkbox{#A}/> How about it?<br/> <submit action={handler}/> </lform> </body></html>