You need to sign in to do that
Don't have an account?
raman123
how to convert java script to url button
function showBox() {
var box = new parent.SimpleDialog("helder"+Math.random(), true);
parent.box = box;
box.setTitle("Sales Coach - Stage: {!TSGADX__Deal__c.TSGADX__Sales_Stage__c}");
box.createDialog();
box.setWidth(900);
box.setContentInnerHTML("<a href=\"#\" onclick=\"box.hide();\">Close</a><br/><iframe src =\"/apex/TSGADX__SalesCoachV2?id={!TSGADX__Deal__c.Id}\" height=\"700\" width=\"950\" frameborder=\"0\" style=\"border:none; width:850px; margin-left:0; margin-right: auto; height:600px;overflow-x:hidden;\"><p>Your browser does not support iframes.</p></iframe>");
box.setupDefaultButtons();
box.show();
}
showBox();
var box = new parent.SimpleDialog("helder"+Math.random(), true);
parent.box = box;
box.setTitle("Sales Coach - Stage: {!TSGADX__Deal__c.TSGADX__Sales_Stage__c}");
box.createDialog();
box.setWidth(900);
box.setContentInnerHTML("<a href=\"#\" onclick=\"box.hide();\">Close</a><br/><iframe src =\"/apex/TSGADX__SalesCoachV2?id={!TSGADX__Deal__c.Id}\" height=\"700\" width=\"950\" frameborder=\"0\" style=\"border:none; width:850px; margin-left:0; margin-right: auto; height:600px;overflow-x:hidden;\"><p>Your browser does not support iframes.</p></iframe>");
box.setupDefaultButtons();
box.show();
}
showBox();