DotNET-Agent/src/index.html [43:64]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - } function find() { var id = $('#prodId').val(); $.getJSON(uri + '/' + id) .done(function (data) { $('#product').text(formatItem(data)); }) .fail(function (jqXHR, textStatus, err) { $('#product').text('Error: ' + err); }); } $('#addProduct').click(function () { $.post(uri, $("#addProductForm").serialize(), function (value) { $('
  • ', { text: formatItem(item) }).appendTo($('#products')); }, "json" ); }); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DotNETCore/wwwroot/index.html [43:64]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - } function find() { var id = $('#prodId').val(); $.getJSON(uri + '/' + id) .done(function (data) { $('#product').text(formatItem(data)); }) .fail(function (jqXHR, textStatus, err) { $('#product').text('Error: ' + err); }); } $('#addProduct').click(function () { $.post(uri, $("#addProductForm").serialize(), function (value) { $('
  • ', { text: formatItem(item) }).appendTo($('#products')); }, "json" ); }); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -