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.?

24th Mar 2017, 7:52 PM
Augustine Henry
Augustine Henry - avatar
2 odpowiedzi
+ 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 👍
24th Mar 2017, 9:26 PM
Jakub M.
Jakub M. - avatar
+ 1
thanks @jacub
25th Mar 2017, 4:19 AM
Augustine Henry
Augustine Henry - avatar