view demo/alert.ur @ 1579:e1f4ac9ca34b

Note a parsing restriction in the manual
author Adam Chlipala <adam@chlipala.net>
date Fri, 21 Oct 2011 08:36:10 -0400
parents 8e17e6b615bd
children e6bc6bbd7a32
line wrap: on
line source
fun main () = return <xml><body>
  <button value="Click me!" onclick={alert "You clicked me!"}/>
</body></xml>