Hi.
Perhaps a lot of you heart this problem, but i can't find a solution.
Java Script is crashing when see \n sign.
I have a lot of functions like this:
function drawDocumentMainRowColor1(unique, content, align, padding, color) {
drawDocumentHTML += '<tr class="stdTab" bgcolor="#' + color + '"><td> </td><td style="padding: ' + padding + 'px 10px;" colspan="2" align="' + align + '">' + content + '</td></tr>';
}
..where content is any string. Now if in string appear \n or \r sign page is dead. (JS error)
T U for any help