0
I have a side menu with several links, I am using ajax so that when someone clicks on one of the links the central content of the page is modified. How would you do this operation ??
I’m currently using this code:
<script>
$('li:contains(Registro Local)').click(function(event){
$('.active').removeClass('active');
$('li:contains(Registro Local)').addClass('active');
event.preventDefault();
$('.content_wrap').load('link-da-pagina');
});
</script>
This causes the page to be loaded but does not change the url.
Have you ever read anything about html <Section> ? I think this would help you
– Israel Zebulon