returns the document’s baseURI. (baseuri() uses document.baseURI if available and inspects the <base> tag manually otherwise.)
set body’s cursor to ‘progress’
reset body’s cursor to default (mouse cursor). The main purpose of this function is to be used as a callback in the deferreds’ callbacks chain.
builds an url from an object (used as a dictionary)
>>> asURL({'rql' : "RQL", 'x': [1, 2], 'itemvid' : "oneline"})
rql=RQL&vid=list&itemvid=oneline&x=1&x=2
>>> asURL({'rql' : "a&b", 'x': [1, 2], 'itemvid' : "oneline"})
rql=a%26b&x=1&x=2&itemvid=oneline
return selected value of a combo box if any
toggle visibility of an element by its id
toggles visibility of login popup div
returns the list of elements in the document matching the tag name and the properties provided
sets checked/unchecked status of checkboxes
this function is a hack to build a dom node from html source