I need to literally print \n inside of the the this.value.split
$rows .= "<textarea onkeyup='this.rows = (this.value.split(\"\n\").length||1);' ...
I cut the code short so its easier to read.
PHP parses it as a new line. How can I rewrite this string so that it will actually print \n ??