datas_parameter = {}; function datas_list() { $('#content').html(''); $('#result').html(''); $.ajax({ type : 'get', dataType : 'json', contentType : 'application/json; charset=utf-8', url : '../jaxrs/datas', xhrFields : { 'withCredentials' : true }, crossDomain : true }).done(function(json) { $('#result').html(JSON.stringify(json.data, null, 4)); if (json.type == 'success') { if (json.data) { var str = '
| order | dataServer | operate |
|---|---|---|
| ' + k + ' ' + 'add'; +' | ||
| ' + o.order + ' | '; str += '' + o.dataServer + ' | '; str += ''; str += 'edit '; str += 'delete'; str += ' | '; str += '