Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Hi,
Can we write javascript onload on visualforce email template.
Yes through script in the visual force page you can achieve that.
Thanks!
But I have been trying since long time but its not working.
function redirect() { if({!relatedTo.active__c}=True { window.open('http://www.salesforce.com'); else { window.open('http://www.developer.force.com'); } } } } </script> <body> <a href="#" onClick="redirect();return false">Click Here</a> </body>
Yes through script in the visual force page you can achieve that.
Thanks!
But I have been trying since long time but its not working.