document.getElementById("gift_mess").value = 'добавленный текст '+document.getElementById("mess").value;