How to add text to a textarea with jquery or javascript
<p>Basically the function will be similar to the "quote" function on most forums. I need to click a button to grab some text and paste that into a textarea box.</p>

<p>I've tried some things and they work, however, they don't work with everything. For example, they don't work when the text that I need to grab has white spaces or apostrophes or if the text is very long. Any help?</p>

<p>I've tried most of the solutions outlined in this thread: <a href="http://stackoverflow.com/questions/946534/insert-text-into-textarea-with-jquery">Insert text into textarea with jQuery</a> and they do not work.</p>
