DOM对象常用方法(国外英语资料).docVIP

  • 0
  • 0
  • 约4.21万字
  • 约 11页
  • 2017-06-26 发布于河南
  • 举报
DOM对象常用方法(国外英语资料)

DOM对象常用方法(国外英语资料) Common methods for Dom objects: (1) getElementById () queries the element of the given ID attribute value and returns the element node of that element The element that queries a given ID attribute value returns the element node of that element. Also known as element objects. Because the value of the id in an HTML page is unique, the return value is also unique. So the name of the method is getElementById () instead of getElementsById (). This method can only be used for document objects, similar to the static keyword of Java. (2) getElementsByName () looks up all the element

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档