On Custom Button VF page Open in new Tab
{!REQUIRESCRIPT("/soap/ajax/15.0/connection.js")}
var accId="{!Account.Id}";
window.open("/apex/vfpageName?id="+accId,"mywindow");
var accId="{!Account.Id}";
window.open("/apex/vfpageName?id="+accId,"mywindow");
Comments
Post a Comment