会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
持续迈进
博客园
首页
新随笔
联系
订阅
管理
2010年7月21日
document.getElementById使用 【转载】
摘要: 语法:oElement = document . getElementById ( sID ) 参数:sID――必选项。字符串 (String) 。 返回值:oElemen――对象 (Element) 。 说明:根据指定的 id 属性值得到对象。返回 id 属性值等于 sID 的第一个对象的引用。假如对应的为一组对象,则返回该组对象中的第一个。 如果无符合条件的对象,则返回 null 。 注意: ...
阅读全文
posted @ 2010-07-21 16:56 pig_wang
阅读(1398)
评论(0)
推荐(1)
编辑
公告