开发者

how to call javascript when load jsp page?

开发者 https://www.devze.com 2023-01-07 14:32 出处:网络
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 disabl

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

精彩评论

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