Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function (){
- $("#getmap").click(function () {
- $.ajax({
- method:"post",
- url: "https://ewserver.di.unimi.it/mobicomp/mostri/getmap.php",
- data: JSON.stringify({session_id : 'zqfQaL0q6TKACDrP'}),
- type: "POST",
- dataType : "json",
- success: function (result) {
- console.log(result);
- },
- error: function (error) {
- alert( "Sorry, there was a problem!" );
- console.log( "Error: " + errorThrown );
- },
- })
- })
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement