HTMLViewer Javascript Alert

When using the HTMLViewer control on mac os, javascript alert and confirm functions are just ignored. How can I fix this? thanks

Use a msgbox instead. You can pass data to your app by changing window.status in JavaScript and implementing the correct events your app.

Use WebUIDelegateMBS class to get the events and handle the dialog requests.