In all versions of IE (I'm testing IE11 at the moment) new line breaks inside of textarea elements aren't working...
function id_(id)
{
var r = false;
if (document.getElementById(id))
{
r = document.getElementById(id);
}
return r;
}
window.onload = function()
{
for (i in document.getElementsByTagName('audio')[0])
{
id_('test').value = id_('test').value + '\n' +i;
}
}
How can I force IE to break lines in a textarea element? No frameworks.
I've tried \n\r, \r\n, \r and \n.