You need to sign in to do that
Don't have an account?
Staci
alert message in Apex Page not popping up
I found this on a blog that used it for Opportunities, I massaged it to use in Cases, but I cannot get it to pop up the message.
<apex:page standardController="Case" rendered="{!Case.Impact__c = 'Site Production Down'}"> <script type="text/javascript"> { window.alert{"This is an alert"); } </script> </apex:page>
I added the VF Page to my page layout, created a case to meet the criteria and saved the case, no pop up. Am I missing something?
<script type="text/javascript">
{
window.alert("This is an alert");
}
All Answers
<script type="text/javascript">
{
window.alert("This is an alert");
}