总把它认为是非常难的东西,也就没有认真去了解他直到学完CSS大部分内容, 如何获取元素(Get the element)? 书写jQuery 函数是一个非常简单的事(多亏了精彩的
基于32个网页-相关网页
For example, get the element tag name as in Listing 18.
例如,像清单18中一样获得元素标签名称。
One thing to consider about the code: in DOM, the first node represents the document as a whole, so, to get the element book to read the namespaces, you have to go to the children exactly one time.
有关此代码,有一点需要注意:在DOM中,第一个节点代表整个文档,所以,要让元素book读取这些名称空间,必须访问子节点刚好一次。
So I guess I should go back, and let me do this correctly this way. Again, I can look at test, test and I guess test now if I want to get the element out-- angle bracket or square bracket?
但是这不是我想要的对不对?,我认为我该回到这里,让我改正这个错误,好,那么我还是对元组,那么现在我想从test中取出元素来?
So wherever the largest element started out in the list, by the time I get through it, it's at the end.
所以无论最大的元素,在列表的什么位置。
If I do this, try and get the 10th element of a list that's only eight long. I get what looks like an error, but it's actually throwing an exception.
如果我来这么做,试着去取长度为8的列表的第十个元素,我貌似能得到一个错误。
应用推荐