<canvas width="100%" height="50"> <text id="sometext"/> <script> sometext.setAttribute("text", "hello world"); </script> </canvas> <!-- * X_LZ_COPYRIGHT_BEGIN *************************************************** * Copyright 2007, 2008 Laszlo Systems, Inc. All Rights Reserved. * * Use is subject to license terms. * * X_LZ_COPYRIGHT_END ****************************************************** -->