diff --git a/assets/js/sections/common.js b/assets/js/sections/common.js
index 76508f5f..c0c84491 100644
--- a/assets/js/sections/common.js
+++ b/assets/js/sections/common.js
@@ -430,4 +430,21 @@ function getLookupResult() {
$(".ld-ext-right").prop('disabled', false);
}
});
+}
+
+// This function executes the call to the backend for fetching dxcc summary and inserted table below qso entry
+function getDxccResult(dxcc) {
+ $.ajax({
+ url: base_url + 'index.php/lookup/search',
+ type: 'post',
+ data: {
+ type: 'dxcc',
+ dxcc: dxcc,
+ },
+ success: function (html) {
+ $('.dxccsummary').remove();
+ $('.qsopane').append('
');
+ $('.dxccsummarybody').append(html);
+ }
+ });
}
\ No newline at end of file
diff --git a/assets/js/sections/qso.js b/assets/js/sections/qso.js
index 7091aaf7..74d08c8c 100644
--- a/assets/js/sections/qso.js
+++ b/assets/js/sections/qso.js
@@ -406,6 +406,7 @@ $("#callsign").focusout(function() {
if(result.dxcc.entity != undefined) {
$('#country').val(convert_case(result.dxcc.entity));
$('#callsign_info').text(convert_case(result.dxcc.entity));
+ getDxccResult(convert_case(result.dxcc.adif));
if($("#sat_name" ).val() != "") {
//logbook/jsonlookupgrid/io77/SAT/0/0