2019-04-16 04:32 AM
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.
2019-04-16 04:43 AM
Did not you try to to use ID of the <a> element you showed?
$('#[ID_OF_A_ELEMENT]').text();
2019-04-16 05:27 AM
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.
2019-04-16 05:48 AM
Yeah, great. Star (*) would also work same as dollar sign but good to capitalize on ending.