Document.querySelector

These functions all forward to the root element. See the documentation in the Element class.

class Document
@scriptable
querySelector
(
string selector
)

Meta