AnsweredAssumed Answered

Javascript popup in Account Details for Cases

Question asked by gaurav narula on Jan 19, 2018
Latest reply on Jan 31, 2018 by gaurav narula

I am creating a javascript popup in custom\modules\Accounts\views\view.detail.php and i need to add an If statement... for eg. If cases are more than or equal to 1 then it should show popup.


echo $js=<<<EOF
var subpanel_cases=document.getElementById("subpanel_cases").cases_v;
alert("Please check cases for this account");



what changes should i make in this??


Please help