view tests/ctextboxAttrs.ur @ 2267:e5b7b066bf1b

Factor out SQL simplification.
author Ziv Scully <ziv@mit.edu>
date Wed, 14 Oct 2015 20:40:57 -0400
parents 2e01a36701eb
children
line wrap: on
line source
fun main () : transaction page =
    s <- source "Initial";
    return <xml><body>
      <ctextbox source={s} onclick={fn ev => alert ("Clicky " ^ show ev.ScreenX)}
                           onkeypress={fn ev => alert ("Code " ^ show ev.KeyCode)}/>
    </body></xml>