24 June 2009

Substituting Carriage Returns in text areas

  

 Here is a link

  .replace(/\r?\n/g, "-break tag-\n")
  

No comments: