<textarea id="txt" cols="30" rows="5"></textarea> <button onclick="document.getElementById('txt').value = 'bla-bla-bla'">Жми</button>