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
[{"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Application Development","Platform":[{"code":"PF033","label":"Windows"}],"Version":"6.1","Edition":"Consumer;Enterprise","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
Modified date:
19 August 2022
UID
swg27040418