
29 Oct
2010
29 Oct
'10
4:20 p.m.
On 27 October 2010 13:30, Martijn Schrage
On 21-10-10 01:01, Victor Nazarov wrote:
This example creates a text field that turns red if it contains any
non-digit characters. It is on-line at http://tryout.oblomov.com/ghcjs/ghcjs.html (Note: I only tested it on Firefox on a Mac)
All used files are in a zip file at http://tryout.oblomov.com/ghcjs/ghcjs.zip (validate is in Test.hs, the JS monad in JS.hs, and the JavaScript for execHaskell in util.js)
What browser are you using, IE8, IE9, FF and Chrome on Windows throw up errors, both locally and to your above code. Aaron