I have a part of my code that I would like to modify. I'm sending to print and I show a message, what I want to do is that after 5 seconds show me another informative message and, after 3 more seconds, disappear and follow the flow of the program.
The code:
$(function() {
renderTexts();
renderButtons(['entrar','salir']);
$("#boton-confirmar").get(0).clickCallback = function () {
alert_UI('Aguarde un instante mientras se imprime el ticket', 'Imprimiendo', 'loading');
return false;
};
The message I want to show after 5 seconds and disappear after 3 seconds would be:
alert_UI('Tome su ticket y entréguelo en ventanilla ', 'Canjes', 'loading');
I tried linking but without success. Thanks!