kuifje09
January 22nd, 2011, 06:54 PM
Shure, the answer is on the web somewhere but cant find it.
This is my problem:
From a webpage I do a request :
document.getElementById("Prev").innerHTML=xmlhttp.responseText;
The result is displayed in a textarea with the id="Prev". I get all the information requested.
But the result in the text area always shows the last line double.
So, 1 line info becomes 2 lines,
If 10 lines info.. it becomes 11 lines,
How can I solve this, what do I mis.
>>> Should have used shell_exec .
This is my problem:
From a webpage I do a request :
document.getElementById("Prev").innerHTML=xmlhttp.responseText;
The result is displayed in a textarea with the id="Prev". I get all the information requested.
But the result in the text area always shows the last line double.
So, 1 line info becomes 2 lines,
If 10 lines info.. it becomes 11 lines,
How can I solve this, what do I mis.
>>> Should have used shell_exec .