var cleanUpString = document.getElementById(‘cv8’).value;
document.LANSA.LZ1GMSGTXT.value=cleanUpString.replace(‘\n’, ”);
Ugly but works.
var cleanUpString = document.getElementById(‘cv8’).value;
document.LANSA.LZ1GMSGTXT.value=cleanUpString.replace(‘\n’, ”);