Created
January 7, 2019 12:35
-
-
Save ifndefdeadmau5/3b11aeceb40263abc0a81b46079f76eb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var memberListArray = []; | |
memberListArray.push('test_value'); | |
$.ajax({ | |
url: "/api/user/member_add", | |
type: "POST", | |
traditional: true, | |
dataType: "json", | |
data: { | |
memberListArray: memberListArray | |
}, | |
success: function (data) { | |
if (data.success == true) { | |
} else { | |
location.href="/error"; | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment