Hi... got a problem with this snippet...
function writeColum () {
var x = document.getElementById("wc").value;
var y = document.getElementById("title").value;
if (event.keyCode == 32) {
x=x+" ";
}
if (event.keyCode == 13) {
x=x+"<br />";
}
document.getElementById("passValue").innerHTML=x;
}
Any reasons why it's not working?