is it possible in ThingWorx 8.5.x and 9 to force focus on a specific element (like a textbox) in a mashup during runtime? I've seen solutions in older posts with jQuery which are no longer working.
Is there any way to achive this in newer Thingworx versions?
Solved! Go to Solution.
Can you point out the older posts that you're referring to? This will help us gain a better understanding of your requirement.
Certainly. The accepted solution in this case isn't working anymore: https://community.ptc.com/t5/ThingWorx-Developers/Force-focus-to-a-textbox/td-p/501391
I simply want to set focus to an element (like a textbox) after an event (i.e. ButtonClicked) is triggered.
EDIT: There are even cases where it is mentioned that jQuery isn't working anymore for this use case.
Is there any alternative?
Do you mean a customized textbox widget that have the function to force focus on itself? Or a separate widget that could set focus on any arbitrary element in the mashup?
I'm asking because I'm not sure if the second option is even possible.