readonly=true 不起作用

taylermail 2006-07-31 10:54:22
<INPUT type="checkbox" VALUE="需要" id=checkbox1 name=checkbox1 <%if trim(con("project_first"))="需要" then %> checked readonly=true <%end if%>>试压
...全文
596 7 打赏 收藏 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
leohuang 2006-07-31
  • 打赏
  • 举报
回复
disabled
biandande 2006-07-31
  • 打赏
  • 举报
回复
如果其他方法不能正常使用的话建议把readonly 换成 disabled这个虽然能动性差点,,但是应该没多大问题的
canning92 2006-07-31
  • 打赏
  • 举报
回复
<INPUT type="checkbox" VALUE="需要" id=checkbox1 name=checkbox1 <%if trim(con("project_first"))="需要" then %> checked disabled <%end if%>>试压

zhenmeiyisi 2006-07-31
  • 打赏
  • 举报
回复
readonly 换成 disabled
taylermail 2006-07-31
  • 打赏
  • 举报
回复
就是如果checkbox选中 就不能被更改
taylermail 2006-07-31
  • 打赏
  • 举报
回复
也不行 checkbox还是能够更改
我想是符合条件的打沟的不能在更改
如何解决?
aking8736 2006-07-31
  • 打赏
  • 举报
回复
<INPUT type="checkbox" VALUE="需要" id=checkbox1 name=checkbox1 <%if trim(con("project_first"))="需要" then %> checked readonly<%end if%>>试压

28,402

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧