the situation is as follows.. I ready a value from a mysql field using PHP.. Dispays that value in a HTML div and i'm reading the div's value:
value = document.getElementById("text").innerHTML;
alert("new line detected");
alert("no new lines");
but it seems to work only in FF..
IE6/7 doesn't detects the new lines however in the source view of the both browsers the text is displayed on new lines..
any ideas how to fix that ?