Dom Manipulation issue

dmahendran
Tera Contributor

Hello folks.
                      I’m facing an issue with DOM manipulation. The requirement is: based on the value selected in the Service field, I need to populate the related Name in a specific tab of the Case record. This tab should display the name that is linked to the selected service. I tried using a GlideAjax call within an onChange client script, but it’s not working. The goal is to have the name in that tab automatically populated according to the selected service.

13 REPLIES 13

TamoghnaB
Tera Expert

Hi,

 

Try using GlideAjax call and onChange client script. Please use log statements to understand why the script include is not returning correct results.

 

TamoghnaB
Tera Expert

Hi @dmahendran ,

 

Try using GlideAjax call and onChange client script. Please use log statements to understand why the script include is not returning correct results.

 

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

I already tried that it changes when the form loads, but after the record is saved to the database, it doesn’t show up anymore. Any other suggestions

dmahendran_0-1754887245311.png

 

Hi @dmahendran , 

 

Instead of using InnerHTML , you can try storing the result in string value and read from it.

 

Could you please share the screen shot of your page where you are trying update  values.

 

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!