AJAX return error

1

I'm having a problem with Ajax, I have a button that returns html data by AJAX, when I use it on the homepage (home) or categories in this template link the request data comes back correctly when I request the button that calls AJAX but when I am in addresses like this link , the Ajax request is performed but returns the html from the home page of the site. The request goes on the page to go with the data but the return response is not the html with the data but the html of the home and only happens when I am at this address making the request, in the other two addresses structure works perfectly. I await help

    
asked by anonymous 23.04.2018 / 16:45

0 answers