我这么写的:
chk.attributes[ "onclick "] = "document.getElementById( ' " + textbox.clientid + " ').text= ' '; ";
不工作。为什么?
------解决方案--------------------------------------------------------
hk.attributes[ "onclick "] = "document.getElementById( ' " + textbox.clientid + " ').value= ' '; ";
把Text换成value就行了