I am trying to get data from JSON file in a table format in a HTML page but I get an error.
Uncaught TypeError: $.getJSON is not a function
How can I solve this problem?
$(document).ready(function()
$.getJSON("Info.json", function(data) {
var Employee_info = '';
$.each(data, function(key, value) {
Employee_info += '<tr>';
Employee_info += '<td>' + value.Name + '</td>';
Employee_info += '<td>' + value.Address + '</td>';
Employee_info += '<td>' + value.Gender + '</td>';
Employee_info += '<td>' + value.Designation + '</td>';
Employee_info += '<td>' + value.Age + '</td>'
Employee_info += '</tr>'
});
$('#Employee_table').append(Employee_info);
});
});