view tests/docevents.ur @ 1890:abb0e95dcaa1

Fix more of client-side error handlers
author Adam Chlipala <adam@chlipala.net>
date Thu, 14 Nov 2013 06:36:36 -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>