Mercurial > urweb
view tests/vlad4.ur @ 1398:fe470db7feea
Fix for handling of some attributes to client-side input widgets, based on a patch from Vladimir Shabanov
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 16 Jan 2011 10:57:59 -0500 |
parents | |
children |
line wrap: on
line source
fun main () : transaction page = s <- source ""; return <xml><body> <ctextbox source={s} value="123" onchange={s <- get s; alert (s ^ "!")}/> <dyn signal={s <- signal s; return (txt s)}/> </body></xml>