Commit 46ed83d4 authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

alert.html: added button showing multiple alerts at once.

parent f89d01e2
......@@ -12,6 +12,7 @@
<button id="showalert1">Show Alert 1</button>
<button id="showalert2">Show Alert 2</button>
<button id="showalert3">Show Alert 3 primed</button>
<button id="showmanyalert1">Show Many Alert 1</button>
<script src="../js/jquery.min.js"></script>
......@@ -47,6 +48,17 @@
alert.timeout = 3000;
alert.show();
});
$('#showmanyalert1').click(function () {
var alert = new QfqNS.Alert("This is alert 1", "info");
alert.show();
alert = new QfqNS.Alert("This is alert 2", "warning");
alert.show();
alert = new QfqNS.Alert("This is alert 3", "error");
alert.show();
});
});
</script>
</body>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment