Question

4
Replies
166
Views
Close popover
Nipun Khokhar (Khnb38)
Huntington Bank

Huntington Bank
US
Khnb38 Member since 2016 15 posts
Huntington Bank
Posted: May 1, 2018
Last activity: August 7, 2018
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 Experience Support Case Exists
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.