Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+15 votes

For Alert that is CONFIRMATION type, it creates 2 buttons which are okay and cancel. I was wondering how to change the labels of the buttons.

asked in CSC305 Fall 2022 by (1 point)

1 Answer

+5 votes

I think the .getButtonTypes() has some function that lets you change the label of the button

answered by (1 point)