Can someone help me? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can someone help me?

Can someone help me? Every time I use the alert box or the confirm box, The option would say ok or cancel, but instead, I want it to say yes and no, or a custom option like Oh no! and yaay! so can someone please help me change the option text of a alert, or a confirm box? It would help! Thank you and bye!

30th Oct 2018, 8:30 PM
Ren
4 Answers
+ 2
to cut the long story short..you cannot change the options in a confirm or alert box,its hard wired into your browser
30th Oct 2018, 8:48 PM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 1
faisal thx
30th Oct 2018, 8:41 PM
Ren
0
brains ok
30th Oct 2018, 8:49 PM
Ren