view tests/alert.ur @ 1457:aa2398e58306

Escape less-than in JavaScript strings
author Adam Chlipala <adam@chlipala.net>
date Thu, 12 May 2011 17:14:13 -0400
parents 1901db85acb4
children
line wrap: on
line source
fun main () : transaction page = return <xml><body>
    <a onclick={alert "You clicked it!  That's some fancy shooting!"}>Click Me!</a>
  </body></xml>