Hello.
wisej widget control with timepicki in javascript
When replacing with Replace the program code below
Please tell me how to do it.
————————————————
<input type = “text” name = “time” />
<script>
$ (“input”). timepicki ();
</ script>
————————————————
* Using timepicki as a sample in javascript
Attach.
Add the scripts etc to default.html
The add this to the TextBox in InitScript:
var field = this.getChildControl("textfield"); $(field.getContentElement().getDomElement()).timepicki();
Wisej uses a show dom system. It’s not like plain js that directly accesses the dom.
Also in the CssStyle of the TextBox put “overflow:visible” because the timepicki widget incorrectly uses the container to create the overlay widget which makes it fail as soon as the <input> is inside a div with overflow hidden. Additionally it also incorrectly uses the container to resize the popup. You will probably want to fix the timepicki javascript.
Please login first to submit.