开发者

how to call javascript when load jsp page?

I have a button which should be disabled when the JSP pag开发者_如何学运维e loads.

How do I achieve this?


If there is no any specific conditions for disabling button, you can use HTML attribute disabled. Like this, instead of dynamically changing it on load.

<input type="button" disabled="disabled" value="My button" name="btn1" />
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜