Using jQuery within a module

JQuery is included in the Vega API and can be invoked on a response.document if a DOM is extracted from the response body, e.g.:

    if (response.document) {
          var form = jQuery("form", response.document);
    [..]

See modules such as vauthhttp.js or vautocomplete.js, which use jQuery to analyze DOM elements for various attributes.

Home > API > jQuery

Have feedback on Vega? Our documentation? Please tell us.