Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Uncaught TypeError: $(...).on is not a function

SA-18189

Summary



Internet Application Composer (IAC) was used to integrate PRPC into the portal. This worked as expected in PRPC 6.1 SP2. However, when the application was upgraded to Pega 7.1.8, the harness called from user portal was not rendered.
A JavaScript (JS) error occurred when IAC was used to call a harness.

Error Messages




Steps to Reproduce



1. Create a harness in Designer Studio.
2. Set up IAC by deploying PRgateway.war.
3. Create a Java web project that authenticates user through IAC.
4. From Java web project, call the harness created in Designer Studio.


Root Cause



JQuery V1.6 was used here. JQuery supports only versions 1.7 and above on Application Programmer Interface (API). Using an old JQuery version is the root casuse of this behaviour.

Resolution



Perform the following local-change:

1. Stop the server on which Java web project is running.
2. Include JQuery with Version 1.7 or above.
3. Clear cache and tempfiles from server and browser.
4. Start the server.

Published February 11, 2016 - Updated October 8, 2020

Was this useful?

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us