Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var msg = $('#formx').serialize();
- $.ajax({
- type: 'POST',
- url: 'ajax.php',
- data: msg,
- success: function (data) {
- console.log(data);
- },
- error: function (xhr, str) {
- console.log('Возникла ошибка: ' + xhr.responseCode);
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement