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
mlundwallmlundwall 

Custom javascript button with popup question

Hi,

 

I am making a javascript button that takes ownership of a case. There should be a question before ownership is taken that asks if you are sure that you want to do this.

 

"Button Click" -> popup with: Are you sure you want to take ownership (yes) / (no)

-> (Yes) takes ownership

-> (No) don't do anything.

 

The ownership change bit is no worries but the popup dialog I need help.

 

Anyone?

 

/regards

Martin

Ankit AroraAnkit Arora

You can use javascript confirm box for it, a very simple but powerful explanation is provided here :

 

http://www.w3schools.com/js/js_popup.asp

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page