In
getElementById("whatevernameinsidedivs").innerHTML = event.data;
change “whatevernameinsidedivs” with the field key from your database.
In my case, the field key is “command” so my code looks like this:
document.getElementById("command").innerHTML = event.data;
Also, yes, I used a plain text field and pasted my html inside that “command” database field.
