Hi Frederick, you would usually want to use an <input> control for single line text field.
Here's an example from EditNameDialog.htm which you can find in the UI folder in the install:
Name: |
<input id="nameinput" style="width:100%"> |
The input control doesn't have a closing tag and it has a .value property with the text value that it contains.
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input
If you can post your current .htm I can try to make a demo using it.
- Michael
|