SyntaxFix
Write A Post
Hire A Developer
Questions
Get a line separator for the current browser:
function getLineSeparator() { var textarea = document.createElement("textarea"); textarea.value = "\n"; return textarea.value; }