我想在 textarea 的 onclick() 事件中设置空值,但是我的代码不能正常工作..
<textarea id="txtwishlistsong1" rows="5" cols="70" runat="server" onclick="return txtwishlistsong1_onclick()">Type Your Message Here...</textarea>
后面的代码
function txtwishlistsong1_onclick()
{
document.getElementById('txtwishlistsong1').focus();
document.getElementById('txtwishlistsong1').value=null;
}