fix json return things
This commit is contained in:
1 parent
a388b6a025
commit
3b0d8380cb
2 files changed
+7
-3
No files matched your search
+4
-2
@@ -8,9 +8,11 @@ $(document).ready(function() {
|
||||
url : url,
|
||||
data : data,
|
||||
dataType : 'json',
|
||||
encode : true
|
||||
encode : true,
|
||||
}).done(function(data) {
|
||||
console.log(data);
|
||||
alert("it workss");
|
||||
}).fail(function(data) {
|
||||
alert("it failed");
|
||||
});
|
||||
|
||||
event.preventDefault();
|
||||
|
||||
Reference in new issue
Block a user