Put a colour to ok button in a confirm message

kranthikumar_a
Kilo Contributor

Hi friends,

                                Actually i created a one ui action named as delete using both client script and business rule in that i used a confirm message. After running a confirm is coming with two buttons "OK", "Cancel" default colour of that ok button is blue i want to change that ok button colour how can i get this one please help me friends

Regards

Kranthi kumar

14 REPLIES 14

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Kranthi,



This is default behavior of javascript pop up boxes in terms of size and color etc.



javascript - Unable to change the button color of confirm box in Bootbox - Stack Overflow


angularjs - How to change the button color in bootbox.alert - Stack Overflow



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,



                            Thanks for your quick response.



Regards,


Kranthi kumar


Hi Ankur,



                            How Create 'Delete' button in 'Actions on selected rows' for Incident - incident tasks list. After user select the corrective task(s) and select 'Delete' option in 'Actions on selected rows', it should prompt "Do you want to delete the selected incident task(s)?" and after accept it, System should delete the incident task record(s).



Thanks & Regards,


Kranthi kumar


Hi Kranthi,



What is your exact requirement because the question was related to color of confirm box button and now you are mentioning something different.



Regards


Ankur


Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader