Question

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

Huntington Bank
US
Khnb38 Member since 2016 14 posts
Huntington Bank
Posted: May 18, 2018
Last activity: August 7, 2018
Closed
Solved

Calendar Icon not working in Chrome/FF

We have a custom Date control which works fine in IE..But On-click of the calendar icon, chrome is returning the following exception - Uncaught TypeError: Cannot read property 'calendarInput' of undefined. Using 6.3 SP1

Any suggestions on how to make it work in Chrome/FF

Below is the Calendar icon code -

<span class="iconCalendar" style="padding:0px 10px 0px 6px"onmouseover="this.className='iconCalendar_on'"
onmouseout="this.className='iconCalendar'" onclick="window.dateField=this.parentElement.all.calendarInput; calendar=window.open('<pega:url value='pyActivity=Work-.ShowCalendar&CalendarHTML=HNBCalendarDate '></pega:url>','Calendar','status=yes,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,WIDTH=250,HEIGHT=375')">
</span>

Low-Code App Development User Experience
Moderation Team has archived post