It doesn't trigger the "webview_Alert" event.
When I press the "Try it" button for the "Confirm Box" test, the B4i event is not called, and the example webpage javascript code I posted immediately displays "You pressed Cancel!"
When I press the "Try it" button for the "Prompt" test, the B4i event is not called, and the example webpage javascript code I posted immediately displays "User cancelled the prompt"
Also, how would I return a value to the webage javascript from B4i when the user acts upon each of the other two dialogs?
For example, the "Prompt" method would require the event handler to have two incoming parameters, the Message Text and the Pre-Filled Text for the textbox to display to the user. And then return the text from the textbox (user clicked OK) or return a null string (indicating the user clicked "Cancel")