My new question is about creating controls at run time.
Specifically, the controls I am most interested in are:
a. Textbox control
b. RadialGauge control
I have managed to accomplish this for the textarea using:
You can create/add any control or element at runtime by using JavaScript to insert the control/element into the placeholder. The issue will be if a control your inserting needs some sort of “configuration” that would occur after the element is inserted. A great example would be inserting an href under jquery mobile. As a normal insert you’d get a typical link but jquery mobile would turn this into a button.
Well, this could be the case but I guess I would then have some limitations as for the amount of controls the user could use…
I’ll give it a try and let you know…
The reason createElement("RadialGauge1") does not work is that the argument for createElement needs to be an HTML element, like div, button, input, etc. RadialGauge is a control, built on top of a number of HTML elements.