I have a textarea with select list. My select list add new content on the textarea. But if I begin to write on the textarea and after I add content with my select list, I don't know how can I remove the first content and then putt the new content from my select list.
Html :
<div id="selectmodelediv">
        <select>
         <option value=""></option>
        <option value="1111">test1</option>
        <option value="222">test2</option>
        </select><br />
        <textarea id="targetText" name="targetText" class="champ_tel_txtarea" rows="6" cols="50"></textarea>
      </div>
Jquery :
$('select').change(function () {
$('#targetText').text(''); // I try to clear my textarea before to add content
$('#targetText').append($('#selectmodelediv select').val()) // add new content from select list
});