Product Documentation
Abstract
When you develop an application in Worklight Studio, the bundled version of jQuery might not be sufficient for development needs. This document provides instructions about how to use a different version of jQuery.
Content
jQuery is bundled as a library within IBM Worklight. By default, every new application includes a main HTML file, which contains the following code, that is required to use the embedded jQuery:
<script>window.$ = window.jQuery = WLJQ;</script>
To use a different version of the jQuery library, complete the following steps:
- Remove the <script>window.$ = window.jQuery = WLJQ;</script> code from your application HTML file.
- Add jQuery files to your project.
- Add the <script> tag that refers to the files, which you added in step 2.
The updated version of jQuery will be used for all environments.
Related Information
Was this topic helpful?
Document Information
More support for:
IBM Worklight
Software version:
6.1
Operating system(s):
Windows
Document number:
604187
Modified date:
19 August 2022
UID
swg27040418