document.getElementById('myDisplay').value = "your Content";其中myDisplay是你的textarea的ID,your Content是你要赋给myDisplay的内容。