textInput component in HTML5 Canvas application: not appearing and how to put an outline around it and give it focus with Javascript
I've added a textInput component to a HTML5 Canvas application, and when I published it today, although the box appeared yesterday, it no longer does today. Any ideas as to why that might be?
Also. how do I use Javascript to put an outline around it (inputNumber) and give it focus? The only code I have that relates to it at this point is
var textInput;
setTimeout(function()
{
textInput = dom_overlay_container.children["inputNumber"];
textInput.style.fontSize = "42px";
textInput.style.fontFamily = "'Calibri', cursive, sans-serif";
}, 0);
Thanks for the help.
Mark
