view tests/docevents.ur @ 1610:37f5a23446b2

Catch more <ccheckbox> events
author Adam Chlipala <adam@chlipala.net>
date Thu, 24 Nov 2011 11:41:52 -0500
parents d5c961c709f9
children e8863d9f8c59
line wrap: on
line source
fun main () : transaction page = return <xml>
  <body onload={onDblclick (alert "Double click");
                onKeypress (fn k => alert ("Keypress: " ^ show k))}>
    Nothing here.
  </body>
</xml>