Ticket #6193 (closed bug: wontfix)
Reading value from multiline textarea with val is different to textarea.value
|Reported by:||capape||Owned by:|
When I try to read a textarea value with $('#id').val(), and this textarea has multiline value, $('#id').val() is giving me a different value than document.getElementBy('id').value.
The effect is that when transforming \r\n to \n, and sendind data to a server, servers receive a single line instead of several lines.
I've attached a html file. This is happening with Internet Explorer and Opera. The behaviour with firefox seems to be incorrect too.