摘要: 顾名思义document.getElementById()是根据ID选择元素,document.getElementsByName()是根据NAME选择元素,其实不然,下面让我们来看几个有意思的例子。 测试代码如下: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtm... 阅读全文
posted @ 2012-04-01 20:37 DolphinBoy 阅读(1446) 评论(0) 推荐(0)