Article - CS314721
Java script call through "Expression Widget" does not work on focusing a "TextBox Widget" in ThingWorx
Modified: 26-Feb-2021
Applies To
- ThingWorx Platform 8.4 F000 to 9.1 F000
Description
- Java script call through Expression Widget does not work on focusing a TextBox Widget
- On binding a Button Widget Clicked event to Expression Evaluate, the below JQuery input in Expression works with Thingworx 8.3 but Thingworx 8.4, 8.5 does not support this Expression call
$("#root_textbox-#-bounding-box").find("input").focus(); or
$('[id*=textbox-X]').find("input").focus();
$('[id*=textbox-X]').find("input").focus();
- The Expression does not focus the TextBox when clicking on the Button Widget
This is a printer-friendly version of Article 314721 and may be out of date. For the latest version click CS314721