Question

4
Replies
304
Views
Khnb38 Member since 2016 14 posts
Huntington Bank
Posted: 2 years ago
Last activity: 2 years 3 months ago
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 Interface
Moderation Team has archived post
Share this page LinkedIn