Does Javascript have something similar to the alert builder in Java, I want to have a button that when clicked displays an alert with a set of options and when the option is clicked it triggers a callback with passing the selected option?
Or am I going to be looking at putting some sort of Java call in my code to pass the response back?