19
No se puede establecer la propiedad 'innerHTML' de nulo
¿Por qué obtengo un error o Error de tipo no detectado: no se puede establecer la propiedad 'innerHTML' de nulo? Pensé que entendía innerHTML y lo tenía funcionando antes. <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Untitled Document</title> <script type ="text/javascript"> what(); function what(){ document.getElementById('hello').innerHTML = 'hi'; }; </script> …