Text FormElement A text input control. The corresponding element is . Textarea FormElement - Window - Contains fields related to the host window that is showing the web page. As already mentioned, the current implementation is far from being exhaustive but is enough to start. The JavaScript environment is by now the one less explored in the haXe community but certainly has great potential. Low - Level Access to JavaScript When a developer builds core scripts that must access otherwise unavailable constructs in JavaScript or scripts that must be optimized for execution speed, he or she can always rely on the untyped blocks and the __js__() function. The function, that must be invoked in an untyped block, accepts a string of pure JavaScript code; unlike the js.Lib.eval() function that is evaluated at run time, the argument of the __js__() function is embedded as is ??? in the output file. Remember that an untyped block is never checked for type correctness and the argument in __js__() is not checked at all, thus, it is very easy to introduce subtle errors in them; use with care! Manipulating the Page with JavaScript To change a document it is necessary to obtain a reference to the node you intend to modify.