Mercurial > urweb
view tests/select.ur @ 1292:a671c986f517
Support multiple CSS classes for a single tag
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 05 Sep 2010 12:50:06 -0400 |
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>