Selecting a last child in javascript

后端 未结 5 574
不知归路
不知归路 2020-12-21 01:39

I have a handle on an Un-ordered List (for my example i will call the handle Var1) and would like to be able to assign its last li to a variable. I tried Lastli = var

5条回答
提交回复
热议问题