Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var values = $('#form_input').serialize();
- var game_button = $('#game_start');
- $(game_button).on('click', function() {
- $.ajax({
- url: "postcontroller.php",
- type: "post",
- data: values,
- success: function (response) {
- },
- error: function (jqXHR, textStatus, errorThrown) {
- console.log(textStatus, errorThrown);
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement