This is a follow-up of Does this not work because I can't use a script in a div?
Where I left off, I had this code: Button script:
You access and update the value of a textarea element through the "value" property.
Try:
var theValue = document.getElementById("editorHead").value;
Updating the element doesn't make much sense.