0017

How to prefix all lines with a quotation mark (>) in jQuery

How to prefix all lines with a quotation mark (>) in jQuery

2012.12.31

You will often see a quote ( > ) at the beginning of a line in a message on a bulletin board. I was looking for various ways to put it on in the

code

 <!doctype html>

Put this sentence in the text area with a quotation mark (>) at the beginning of every line of text, and put the result in the text area with

 

 " title="

 

sample

We've provided it here.

reference