Working with jQuery
jQuery is *not* bundled with your Portal.
If you'd rather use jQuery than [work with native, modern JavaScript](/docs/read/your_portal/tutorials/Working_with_modern_JavaScript), you should load it using the [`m$.loadJS()` helper method](/docs/read/your_portal/layout_and_design/JavaScript_API#loadjs) and run your jQuery-dependent code as a callback.
Log into the API Control Center, go to `Manage > Portal`, and click `Portal Settings`. Then add this under the `Body JavaScript` field under the `Inline JavaScript` section.
```js
window.addEventListener('portalAfterRender', function () {
// Load jQuery
m$.loadJS('https://code.jquery.com/jquery-3.2.1.min.js', function () {
// Your code goes here...
});
}, false);
```
Docs Navigation
- API Documentation Portal
- IO Docs Definition
- Mashery API Documentation
- Mashery 3.0 API Guide
- Mashery 2.0 API Guide
- OAuth Supporting Methods
- Examples
- JSON RPC
- Authentication
- API Objects
- Fetching Objects
- Query Language
- Creating Objects
- Updating Objects
- Validating Fields
- Deleting Objects
- Applications
- General Object Methods
- Members
- Packages
- Plans
- Package Keys
- Keys
- Developer Classes
- Services
- Roles
- Mashery 2.0 Reporting API Guide
- Event Trigger API
- Differences between Roles and Portal Access Groups
- Managing a Portal Access Group Using Mashery V2 or V3 API
- Mashery Reporting Event Post API Guide
- Tips and Tricks
- Your Portal
- API Traffic Manager
- I/O Docs WSDL requirements