function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Steve HarrisonSteve Harrison 

Need Onclick javascript that sends email to queue

I woud like to add a custom button to a Case record to escalate a case to a managment queue. I have created the queue and started creating the button, but need onclick javascript.

Thanks in advance.

Steve
PratikPratik (Salesforce Developers) 
Hi Steve,

You can refer to this:
https://developer.salesforce.com/forums/ForumsMain?id=906F00000008xfVIAQ
http://salesforce.stackexchange.com/questions/12906/sending-email-with-javascript-on-custom-button

Also you can do it through URL hack:
https://success.salesforce.com/answers?id=90630000000h2r9AAA

Thanks,
Pratik