Change the background color property of web Style

Is it possible to change the back ground color of a web style assigned to text field dynamically?



It’s not possible in pure Xojo.
However it’s possible using some javascript but it’s kind of “hacking” the way Xojo works, use at your own risks …
You could change the text field background color, changing the web style is something else.
You can modify control “style” with something like:

var elem = document.getElementById('xojo_control_id');"green";