diff options
| -rw-r--r-- | test.html | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -1,6 +1,9 @@ <html> -<link href="modals.css" type="text/stylesheet"></link> +<head> + <link rel="stylesheet" href="modals.css" type="text/css" /> + +</head> <body> <!--ALERT html--> @@ -53,9 +56,15 @@ <script type="text/javascript" src="UploadView.js" ></script> <script type="text/javascript"> $(document).ready(function(){ - alert("hello"); - + //these can be made thenable with bluebird + var whatever_cb = function(){}; + ConfirmModal.confirm("are you sure?", function(){ + AlertModal.alert("you are the man!", function(){ + ErrorModal.alert("ok this is what an ERROR looks like, but there's no error!", whatever_cb()) + }); + }) }); + </script> </body> </html> |
