<canvas height="200" width="100%" debug="true"> <inputtext name="myText" x="10" y="15">Enter text here</inputtext> <button x="45" y="45" onclick="Debug.debug('%s', canvas.myText.text);"> Write out text </button> </canvas> <!-- * X_LZ_COPYRIGHT_BEGIN *************************************************** * Copyright 2007, 2008-2011 Laszlo Systems, Inc. All Rights Reserved. * * Use is subject to license terms. * * X_LZ_COPYRIGHT_END ****************************************************** -->