Show TOC

noJQuery Variant for BootstrappingLocate this document in the navigation structure

The noJQuery variant supports bootstrapping for an application that already integrates jQuery or uses a different jQuery version than SAPUI5.

In this variant, you include the resources/sap-ui-core-noJQuery.js file in your HTML page. Make sure that jQuery and jquery-ui-position have been loaded beforehand. The following code snippet shows an example:

    <!-- include some jQuery version -->
    <script src="my-jQuery-min.js" ></script>

    <!-- application does not have its own jquery-ui-position, so it might use the one from SAPUI5 -->
    <script src="resources/sap/ui/thirdparty/jqueryui/jquery-ui-position.js" ></script>

    <!-- now booting SAPUI5 -->
    <script 
            id="sap-ui-bootstrap"            
            src="resources/sap-ui-core-nojQuery.js" 
            data-sap-ui-libs="sap.ui.m"
            data-sap-ui-theme="sap_bluecrystal" >
    </script>