且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

启用提交按钮

更新时间:2023-09-11 21:40:22

这与VS2005无关,如果您正在编写JavaScript,则VS2005只是一个文本编辑器.你有关于javascript的书吗?您已采取什么步骤来学习如何使用它? document.getElementById将允许您查找控件(您不说它是否是服务器控件,但如果是服务器控件,则需要正确的ClientID来获取客户端名称),然后将属性设置为从那里进行控制.
This has nothing to do with VS2005, which is merely a text editor if you''re writing javascript. Do you have any books on javascript ? What steps have you taken to learn how to use it ? document.getElementById will allow you to find the control ( you don''t say if it''s a server control, but if it is, you need the ClientID properly to get the client side name ), and then you set the property on the control from there.