bind_parameter = {} function bind_list() { $('#result').html(''); $('#content').html(''); $.ajax({ type : 'get', dataType : 'json', url : '../jaxrs/bind/list', xhrFields : { 'withCredentials' : true }, crossDomain : true }).done(function(json) { if (json.type == 'success') { var str = ''; str += ''; str += ''; $.each(json.data, function(index, item) { str += ''; str += ''; str += ''; str += ''; str += ''; }); str += '
' + json.data.length + '
idmetaname
' + item.id + '' + item.meta + '' + item.name + '
'; $('#content').html(str); } }).always(function(json) { $('#result').html(JSON.stringify(json, null, 4)); }); }