Creating Forms with JS within Canvas
Is it possible to create forms within the CANVAS element im using the processingJS library but cannot 开发者_StackOverflow中文版find any support for forms?
You can't directly put other HTML elements in a canvas, but nothing's stopping you from positioning HTML elmements over a canvas. Firefox 5 is going to have 4 has a mechanism to allow a canvas (or anything else) to be used as a background for another element, so with a facility like that you could draw into a canvas that's set up as the background for your <form>
(or whatever).
精彩评论