I have 2 HTML files
File 1. index.html
File 2. nav_bar.html
Here I am trying to load static page nav_bar.html
into index.html
I tried one of the jquery load
method - sample code of index.html. ie.
<script type="text/javascript">
$(function() {
$("#nav_bar").load("nav_bar.html");
});
</script>
Working fine with Firefox but Chrome does not response to load this file. I am not getting the way to resolve it. Note: Please avoid the use of iframe.
Thanks in advance.