Message from JavaScript discussions

July 2017

— Use .textContent


Erm, is from a mobile framework that i used i think 😅 i doesn't know if that is from native js or customized one.

— Wait, gonna try that textcontext

— Textcontent*

— Replace with document ?

— Uncaught TypeError: Cannot set property 'textContent' of null 🤔
replace with document.getElementByClassName?

Message permanent page

— document.querySelector('').textContent = el.nama;

— Well, no error, but the object isnt change.

— 🤔

— Or maybe im wrongly declare the element target?

— You are

— That should be with a space before .center