Avatar of onaled777
onaled777Flag for United States of America

asked on 

Getting the ID from evt.getSource() for a ADFRichInputDate

My aim is to get the client id of a component.

The following two lines results in the popup shown in the attached files:

targetDateClientID = evt.getSource();
alert('targetDateClientID' + targetDateClientID);

The file attached gives an idea of the type of component involved and the id value that I want.

What field or method do I need to call from evt.getSource() to get the client id it1:0:id3 as shown at the end of the string?

How do i extract the id from this type of source
Error.PNG
JavaJava EE

Avatar of undefined
Last Comment
CEHJ
Avatar of onaled777
onaled777
Flag of United States of America image

ASKER

Meant to say  it1:1:id3 in the main question.
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Java
Java

Java is a platform-independent, object-oriented programming language and run-time environment, designed to have as few implementation dependencies as possible such that developers can write one set of code across all platforms using libraries. Most devices will not run Java natively, and require a run-time component to be installed in order to execute a Java program.

102K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo