help在线等待
请问如何清除表格中的数据:
例如:
<table width="100%" border="0" cellspacing="0">
<tr>
<td id="wang">hehehehehehe</td>
</tr>
</table>
<form name="form1" method="post" action="">
<input type="button" name="Submit" value="提交" onClick="clear();">
</form>
<SCRIPT language="JavaScript">
function clear(){
document.all.wang.innerHTML =???????
???????
}
</script>
请问这个clear()函数怎么写?谢谢大家了