Answer the question
In order to leave comments, you need to log in
How to implement an object with methods that could be called sequentially?
How to implement a similar function
get.id("main").class("selector")[0].tag("span")[0];
document.getElementById("main").getElementsByClassName("selector")[0].getElementsByTagName("span")[0];
get.id().get.class().get.tag()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question