So I am working on a proof of concept for communicating between my game world in ue4 and a webpage that is displayed in game via the web browser widget. I wanted to execute some simple javascript by like changing a name that is displayed on the web page. My simple javascript line is just:
document.getElementById("demo").innerHTML = "Javascript Test";
I’ve tested this exact line in the html directly and it works fine. However, if I execute this same line in Unreal through the Web Browser widget it doesn’t seem to change anything. Does anyone know what I may be doing wrong or if this is even supported?