Hola estoy comenzando a usa hyper tumu estoy hacieendo una suma con html y una funcion de suma pero no me refleja el resultado cual es el arror que tengo
¿Puedes proporcionar un archivo de proyecto?
The issue is that you are using an HTML Widget element for your input/output field code. The HTML Widget is an iframe under-the-hood, so it is basically a separate webpage. Therefore the document.getElementById()
is failing, since the ID is in a different document.
The fix is to not use an HTML Widget. Instead use a Rectangle element, which is a <div>
on the page. You can remove styling. Then you can still do Edit > Edit Element's Inner HTML and add your code.
sumatesting-fixed.hype.zip (23.4 KB)
It is a very interesting secret
1 Like