Difference between revisions of "User:Vinoo/SafetyJSON"

m
m
Line 31: Line 31:
  
 
function get_sub_form_list(form_info, request_data) {
 
function get_sub_form_list(form_info, request_data) {
 
 
var request_data_2 = {command: "get_sub_form_list", form_name: "2016_check_in", team_id: 1971};
 
var request_data_2 = {command: "get_sub_form_list", form_name: "2016_check_in", team_id: 1971};
 +
 
jQuery.ajax({
 
jQuery.ajax({
 
url: form_info.ajax_URL,
 
url: form_info.ajax_URL,
Line 38: Line 38:
 
timeout: 30000,
 
timeout: 30000,
 
data: request_data_2,
 
data: request_data_2,
contentType: "application/json; charset=utf-8",
 
 
dataType: "json",
 
dataType: "json",
 
error: function(jqxhr, textStatus, errorThrown) {  
 
error: function(jqxhr, textStatus, errorThrown) {  
Line 47: Line 46:
 
}
 
}
 
})
 
})
console.log(JSON.stringify(request_data));
 
console.log(typeof request_data[15]);
 
  
 
}
 
}

Revision as of 19:26, 14 August 2017

Team Name Country* Kind Check-Ins