-1
Hello, Basically I have a while in Javascript running, depending on the result it presents me an informative message, I want to display this informative message and continue the execution after the user click on "OK".
Currently I am using Javascript Alert, as it only proceeds the code when the user clicks the button.
alert("Usuário sem info cadastrada");
I wish to use the Sweetalert library, because it creates friendlier alerts, I am creating an alert as follows.
swal("Ops!", "Usuário sem info cadastrada", "error");
The problem is that while keeps running, without waiting for the user to click the OK button, one alert replaces the other. I need while to continue only if the user clicks the button, so that the user can view all the problems that are occurring.