Uploading content blocks and pages entirely
Hello .
Does
not
solve the problem .
But
the problem is the following .
Now
done
uploading
via ajax
entire page ,
here :
-
$(document).on('click', '.link', function(e){ e.preventDefault(); var link = $(this).attr('href'); if (link == 'index.html') {$('#content').prev('.slider').show();} else { $.ajax({ type:'post', url: link, success: function(mes){ $('#content').prev('.slider').hide(); $('#content').html(mes); } })} })
But
there is a need to load
not only
the entire page
, but just
some blocks
from the pages.
I
have not one day
can not figure out how
to do it.
I will welcome any advice .