+ Start a Discussion
Soundar Raj PonpandiSoundar Raj Ponpandi 

JavaScript Detail Page Button Displaying Visualforce Page with a Child Tab

How can we display a visualforce page in child tab by a (Detail Page) button click.

Regards,
Soundar.
Best Answer chosen by Soundar Raj Ponpandi
Soundar Raj PonpandiSoundar Raj Ponpandi
Hi,
I have a good solution for that, Refer the simple javascript code .
 
{!REQUIRESCRIPT("/soap/ajax/10.0/connection.js")}
{!REQUIRESCRIPT("/soap/ajax/10.0/apex.js")}

window.open('/apex/Email_Merging?Case_Id={!Case.Id}','_blank');

Regards,
Thanks.​