COSC4606-Assignment-02

Database front end that allows for CRUD operations and user management
git clone git://mattcarlson.org/repos/COSC4606-Assignment-02.git
Log | Files | Refs | README

logout.js (296B)


      1 /* Logout */
      2 $('#logout').click(function() {
      3     /* Send confirm alert before logging out */
      4     if (confirm('Are you sure you want to log out?')) {
      5         $.ajax({
      6             type: 'POST',
      7             url: '/php/logout.php'
      8         });
      9         window.location.replace('/index.php');
     10     }
     11 });