I have typical web application based on PHP, HTML, and javascript.
From an HTML page users can fire a javascript action that does some ajax interaction with the server. This javascript function happens to prompt several alert messages to require user confirmations.
When the second alert runs, the browser (Chrome version 18.0.1025.142 m) displays in the alert box a message and a checkbox where the user can “block other dialog windows from this page” (this is not the exact text as I have translated it from the Italian in my browser).
The user could tell the browser to block successive alerts, which is not good for my application.
Is there a way to prompt more several alerts, avoiding the feature for the user to block them?
Maybe should I use something else than alert, maybe a jQuery component? If I do that, which one is similar to alert?
I would highly advise jQuery’s dialog as an alternative. It’s not actually a physical pop-up, because it’s really a floating div on the web page, so it can’t be blocked. Another second great advantage is that it isn’t embarrassing to look at.