摘要:
今天在开发中准备通过javascript设置input框只读属性的时候,用document.getElementById('input').readonly='readonly';结果发现这样设置无效.于是试着disable的属性,用同样的方法设置是有效的.document.getElementBy... 阅读全文
posted @ 2014-04-24 17:45 龙翔天下 阅读(1593) 评论(1) 推荐(0)
|
摘要:
今天在开发中准备通过javascript设置input框只读属性的时候,用document.getElementById('input').readonly='readonly';结果发现这样设置无效.于是试着disable的属性,用同样的方法设置是有效的.document.getElementBy... 阅读全文
posted @ 2014-04-24 17:45 龙翔天下 阅读(1593) 评论(1) 推荐(0) |
||