Forum Feature requests

querySelectorAll for selecting DOM nodes

mikkelricky
It would be really cool to be able to use "querySelectorAll" (and "querySelector") for selecting DOM nodes from JavaScript in Prince.

Please see http://www.w3.org/TR/selectors-api/#nodeselector for details on "querySelectorAll" and http://www.w3.org/TR/selectors-api/#examples0 for examples of use.

Best regards,
Mikkel
mikeday
We don't support this yet, but the jQuery selectors API and other similar JavaScript libraries do work with Prince, allowing you to do things like $('.class').blah().
pursual
I second this request, for purposes of speed optimization.