function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
haripriya.maturiharipriya.maturi 

how to implement javascript remoting in a Detail view page

Hi,

 

I have implemented java script remoting in Edit layout (where generally we will provide ID for all elements) and working fine there , also I want to implement the same in Detail view page. but unable to succeed.

 

on change of a field I am updating another field . but its not working, can any one suggest me with example.

 

My code in Detail view page:

 

<script>

$("#CF00NE0000002oG27j_id0_taskDetail_j_id35").on("change", function(event){ getOwningGroup(this,CF00NE0000003kDyqj_id0_taskDetail_j_id35_ileinner);
} );

 

 

function getOwningGroup(obj,obj2) {

-

-

-

}

 

</script>

 

Thanks in advance,

Haripriya.