 <p>Your "error:function(msg)" callback function isn't using the right arguments.</p> <p>I would suggest: </p> <pre><code>error: function(jqXHR, textStatus, errorThrown) { console.log(jqXHR, textStatus, errorThrown); //Check with Chrome or FF to see all these objects and decide what you want to display alert('Error! '+textStatus); } </code></pre> <p><a href="http://api.jquery.com/jQuery.ajax/" rel="nofollow">http://api.jquery.com/jQuery.ajax/</a></p> <p>Also, check your PHP error logs to see if it does what you intend it to do.</p>