I wanted to fetch the count from the table footer in analysis/index.html and wanted to show it in dashboard/index.html I am using the load function of jquery and I am getting the error saying: enter image description here
//here is analysis/index.html file code
<table id="recent" class="table table-striped table-responsive recent_table">
<thead ></thead>
<tbody ></tbody>
<tfoot ></tfoot>
</table>
//and here is dashboard/index.html file
<script>
$(document).ready(function()
`enter code here`{
$("#btn1").click(function(){
$("#div1").load("/analysis/index.html table#recent tfoot")
});
});
</script>
// can anyone please guide me How can I do this in Jquery .