Code seems to stop working at the AJAX call

Code seems to stop working at the AJAX call

I have a the below function that should send an AJAX request to nuke_authorize.php,however: there's absolutely no sign of the call being sent. Because if the page is ever loaded/request, it writes something in a text file. However, there's absolutely no text file being created/wrote to.


(if the below code is hard to read, view it here it here:  http://paste2.org/G16U7IgO)
  1. function verifyLaunch(code1, code2, code3, code4){
  2.             window.clearInterval(interval);
  3.             var panel = $('#panel');
  4.             var panel_content = panel.html();
  5.             
  6.             panel.html('<h3><b>Authorizing codes...</b></h3>');
  7.             
  8.             $.ajax({
  9.                 url: 'nuke_authorize.php',
  10.                 type: 'POST',
  11.                 data: {code1:code1, code2:code2, code3:code3, code4:code4}
  12.             }).done(function(m){
  13.                 if(m == 'true'){
  14.                     if(confirm('Sir, are you sure you wish to authorize this launch?')){
  15.                         interval = null;
  16.                         authorizeLaunch(code1, code2, code3, code4);
  17.                     }
  18.                 }else{
  19.                     panel.html('<h3><font color="red"><b>A U T H O R I Z A T I O N &nbsp;&nbsp;&nbsp; F A I L U R E</b></font></h3>');
  20.                     setTimeout(function(){
  21.                         panel.html(panel_content);
  22.                     }, 3500);
  23.                 }
  24.             });
  25.         }