Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function UpdateParticipant(){
- request = jQuery.ajax({
- url: "/participants/UpdateParticipant",
- method: 'post',
- data: { waiting_for_user_id : id , game_data : boardParts },
- dataType: "json"
- });
- request.done(function( msg ) {
- console.log(msg);
- });
- request.fail(function( jqXHR, textStatus ) {
- alert( "Request failed: " + textStatus );
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement