jquery.pl -- Call jQuery on the SWISH interface
Select objects in the SWISH interface using jQuery, run an arbitrary JavaScript function on them and return the result. This predicate was introduced while adding functionality to request the contents of tabs in the SWISH interface.
- jquery(+Selector, +Function) is det
- jquery(+Selector, +Function, -Reply) is det
- Run a jQuery query in the SWISH interface. Selector defines the receiver of the jQuery method, Function is the JavaScript function to run on the receiver and Reply is the Prolog representation of the result.