change $.ajax() to $.post()