safe version of jQuery(‘#nodeid’) because we use ‘:’ in nodeids which messes with jQuery selection mechanism
depth-first implementation of the nodeWalk function found in MochiKit.Base
this implementation comes from MochiKit
returns a subslice of lst using start/stop/step start, stop might be negative
>>> sliceList(['a', 'b', 'c', 'd', 'e', 'f'], 2)
['c', 'd', 'e', 'f']
>>> sliceList(['a', 'b', 'c', 'd', 'e', 'f'], 2, -2)
['c', 'd']
>>> sliceList(['a', 'b', 'c', 'd', 'e', 'f'], -3)
['d', 'e', 'f']
returns a list containing all elements in lst1 that are not in lst2.
return a valid DOM id from a string (should also be usable in jQuery search expression...). This is the javascript implementation of cubicweb.uilib.domid().
return a string suitable to call the fname javascript function with the given arguments (which should be correctly typed).. This is providing javascript implementation equivalent to cubicweb.uilib.js().
DOM factories *******************************************************