我想在id为ts的div中用js输出一张图片  但这样写它却提示错误 缺少;
function show()
{document.getElementById("ts").innerText ="<img src="images/x.gif"/>";}