There is a form with code:
$j('.save').click(function (e) { var cont = $j('.edit').serialize(); $j.ajax({ type: 'POST', url: '/admin/edit.php', data: cont, success: function(data) { alert('Страница успешно изменена'); }, error: function(xhr, str){ alert('Возникла ошибка: ' + xhr.responseCode); } }); });
How to make the files sent too?