我使用下面的代码来查找控件id。
alert(document.getElementById("<%# TextBox1.ClientId %>").value )但是这段代码给出了错误"object required“。请帮帮我。
发布于 2012-05-16 20:13:13
alert(document.getElementById('Id of control').value )您可以通过view source获取控件的确切id。
https://stackoverflow.com/questions/10618196
复制相似问题