dQuery ================= dQuery is for querying and manipulating your server-side dom. querying ---------------- dQuery uses the º symbol (alt+0). .. code-block :: python from domonic.html import * from domonic.dQuery import º d = html(head(body(li(_class='things'), div(_id="test")))) º(d) # you need to init a dom first. i.e. a html element # now you can use it print( º('#test') ) print( º('.things') ) a = º('
') print( a ) b = º('#test').append(a) print(b) You can quickly access returned elements as if it were a list... .. code-block :: python somehtml = º('