javascript中如何使用firstchild属性

2024-10-13 06:00:15

1、创建一个名称为firstchild的html文件

javascript中如何使用firstchild属性

3、添加一个p标签显示返回的结果

javascript中如何使用firstchild属性

5、在自定义函数中通过firstchild属性,nodename来获取节点的名称

javascript中如何使用firstchild属性
猜你喜欢