0
Can someone explain how you can create input options in the confirm boxes(more than one) or in any of the other boxes
The prompt excepts a single input from the user, confirm gives the user a choice to accept or reject so is there any means of altering them to give user more than single option to choose from.?
2 Answers
+ 5
As I know, sadly there is no way to achieve that :/
You can't even customize them, because their whole look depends on the browser you use
But you can create your own boxes with combination of HTML, CSS and JS, and more specifically just CSS and JS
Make a style for your box/boxes and their inputs and call the function that shows them by using JS e.g. by passing an argument with what the box should contain đ
+ 1
thanks @jacub