Well, I need to get the value of a textarea and send it to a second textarea on the same page, but when I refresh I do not want the value to come from the second textarea sum, how to do this using javascript and Ajax? >
My Code
var textArea = getDOMElement("textarea", "class", "logarea", 0)
var y = textArea.value;
var x = document.createElement("TEXTAREA");
var t = document.createTextNode(y);
x.appendChild(t);
document.getElementsByClassName("span8 center")[0].appendChild(x);