Is there a feature in Javascript that is similar to Java's alert builder? I need a button that, when clicked, will display an alert with various options. When an option is selected, it should trigger a callback function passing the chosen option along.
Alternatively, will I need to incorporate a Java call in my code to handle the response?