I'm using a bootbox prompt to allow a user to update a field or indicate if it should be deleted. Unfortunately I can't work out how to determine which button has been pressed.
At what point do you need to determine which button was clicked? They each have separate callback functions, so you shouldn't have any trouble determining this on the front end. If you give them a name and a value, you should be able to determine which button is pressed on the backend after the form is submitted.
zephyr_hex - thanks...uglier than I'd hoped but does the trick given the apparent limitation of Fiddler. Cheers!
Kim Walker - I should have noted neither of the button callbacks are working. This can be verified in the jsfiddle.
Julian Hansen - This does not tell me if the Delete was pressed or if the dialog was closed by virtue of clicking the close X. I should have added a third button to make my situation clearer. I need to know what button is clicked.