Mercurial > urweb
view tests/select.ur @ 1999:a1d3fbdcc897
Add <pre> tag support
author | Sergey Mironov <grrwlf@gmail.com> |
---|---|
date | Mon, 24 Feb 2014 09:10:31 +0000 |
parents | fe018cbdd41e |
children |
line wrap: on
line source
val handler = fn x => <xml><body> You entered: {cdata x.A} </body></xml> val main = fn () => <xml><body> <form> <select{#A}> <option value="A">A</option> <option value="B">B</option> </select> <submit action={handler}/> </form> </body></xml>