Question

4
Replies
161
Views
Khnb38 Member since 2016 14 posts
Huntington Bank
Posted: 2 years ago
Last activity: 2 years 3 months ago
Closed

Custom Multi-select not working in Firefox - Event is not defined JS error

Since, window.event.srcElement does not work in Non-IE browser, replaced it with pega.util.Event.getTarget(event) in the Javascript function used for Multi-Select selection. However, in non-IE browser, getting - "ReferenceError: event is not defined" JS error and the control doesnt work. Using 6.3 SP1

Please let me know how the "event" is defined when pega.util.Event.getTarget(event) is used in a custom JS code (Attached is the JS code)..Note: HNB.multiSelectInit is the function used in the control which is defined in the work form

***Edited by Moderator Marissa to update categories; add SR Details***

***Turned off future commenting per Original Poster's Request***

User Interface SR Exists
Moderation Team has archived post
Share this page LinkedIn