|
@@ -13,17 +13,23 @@
|
|
|
|
|
|
|
|
|
|
// jquery
|
|
// jquery
|
|
-
|
|
|
|
-$.ajax('http://172.105.205.52:8000/tags', {
|
|
|
|
|
|
+$(document).ready(function(){
|
|
|
|
+ $.ajax('http://172.105.205.52:8000/tags', {
|
|
type: 'GET', // http method
|
|
type: 'GET', // http method
|
|
headers: {'Access-Control-Allow-Origin': '*'},
|
|
headers: {'Access-Control-Allow-Origin': '*'},
|
|
success: function (res) {
|
|
success: function (res) {
|
|
|
|
+ var a = res;
|
|
console.log(res);
|
|
console.log(res);
|
|
},
|
|
},
|
|
error: function (err) {
|
|
error: function (err) {
|
|
console.log(err);
|
|
console.log(err);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
+ $("#submit").bind('click',function(){
|
|
|
|
+ var idiom=$("#idiom").val();
|
|
|
|
+
|
|
|
|
+ });
|
|
|
|
+});
|
|
|
|
|
|
// $.get("date-time.php", function(data){
|
|
// $.get("date-time.php", function(data){
|
|
// console.log(res);
|
|
// console.log(res);
|