请教javascript的问题
<input type="button" id="cc" value="sdsad"/><script type="text/javascript">
function getValue()
{
document.getElementById("cc").type="hidden"
}
</script>
<input type="button" id="44" onclick="getValue()" value="sdsad"/>
这样写为什么不能隐藏按钮啊??