title: jQuery Ajax returns undefined
body: <pre><code>$('.updateDescriptionProduct').click( function() {
    if ( updateProductDescription(productID, description) == 'true') {
      alert('success!');
    } else {
      alert('did not update');        
    }
  });
  
  function updateProductDescription(productID, description) {
    $.ajax({
      url: '/index.php/updateProductDescription',
      global: false,
      type: 'POST',
      data: ({productID: productID, description: description}),
      dataType: 'html',
      async:false,
      success: function(msg){
        alert(msg); 
  
        return msg;
      }
    });
  }
  </code></pre>
  
  <p>The function itself says true, but my <code>click</code> event comes back as <code>undefined</code>.</p>