X
X
xFRAPS2018-03-29 22:52:55
AJAX
xFRAPS, 2018-03-29 22:52:55

JS load whole page AJAX instead of elements?

r.soft.bz/miram123
When you select the markup of goods, js immerses the entire site again.
Where is the conflict created?
Help me please.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nick Sdk, 2018-03-29
@lidacriss

$('#mainContainer').load('index.php?route='+type+cat_id+href,function(){
  spinner();simpleSliderCust('#mainContainer');sliderBtnHover();svgFix();fancyFastCart();
});

Pour everything that came into the '#mainContainer' container , and the whole page came.
Give only the contents of the container from the server or something)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question