S
Srinivasa
Hai, I am new to this group. But not to Javascript.
I have a problam with innerText in FireFox.
I have the code as below.
--
var inputArea = document.getElementById("rtsText");
var outputArea = document.getElementById("uniText");
outputArea.innerText = transformInput(inputArea.value);
--
I have two elements, a textarea in which user entered RTS text, and a
div tag in which the converted Unicode text will be place using
transformInput funcion.
But my problem is, innerText is working fine in IE, but not in
FireFox. So i tried to use textContent in FireFox. It is working but
the line breaks (which will get by pressing Enter key) in the input
textare will not reflect in the output div tag. Could anybody tell me
solution.
-Thanks and Regards
-Srinivasa Raju Datla
I have a problam with innerText in FireFox.
I have the code as below.
--
var inputArea = document.getElementById("rtsText");
var outputArea = document.getElementById("uniText");
outputArea.innerText = transformInput(inputArea.value);
--
I have two elements, a textarea in which user entered RTS text, and a
div tag in which the converted Unicode text will be place using
transformInput funcion.
But my problem is, innerText is working fine in IE, but not in
FireFox. So i tried to use textContent in FireFox. It is working but
the line breaks (which will get by pressing Enter key) in the input
textare will not reflect in the output div tag. Could anybody tell me
solution.
-Thanks and Regards
-Srinivasa Raju Datla