The Findlib package is jquery
. See the Ocamldoc and example. Thanks to Dave Benjamin for contributing this library.
There is a syntax extension (jquery.syntax
package), which just changes the precedence of the method call operator #
, in order to allow method chaining, e.g.
let size = ~$"div.contentToChange" #find "p" #size in
(where ~$
is the jQuery $
operator).