cancel
Showing results for 
Search instead for 
Did you mean: 

Show Key field in Popup

MSivaKumar
Contributor III

Hello,

 

In Application A record, I have a XREF grid displaying Application B records.

The XREF grid contains fields to displays as MP-ID, Name and Status

Now,In Application A I wanted to display a customized alert with message "Please set 'MP-ID' to close before closing the record".

I was able to generate alert window, but I am not sure how to capture a field value from XREF grid and display in popup.

MP-ID is the key field in Application B.

I am attaching the DOM Explorer for this field, any suggestions please.

 

David Petty

3 REPLIES 3

Ilya_Khen
Champion III

Did not you try to to use ID of the <a> element you showed?

$('#[ID_OF_A_ELEMENT]').text();‍‍

Hi Ilya,

I tried it and didnt worked, but with $("[id$='f" + XREF Field ID + ":" + Target Field ID + "c']").text(); it is working

Thanks for your response.

Yeah, great. Star (*) would also work same as dollar sign  but good to capitalize on ending.