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
Devendra SawantDevendra Sawant 

Custom Back Button

 

Hi,

 

I am using custom button (Back) on detail page. I want to give a functionality same as Cancel button.

 

What javascript should i write to achive proper result?

 

Cheers,

Devendra S

r1985r1985

Hi,

 

Use the following javascript and give the url u want to redirect to.

 

window.parent.location.href='/001/o'

 

Thanks,

Malar