-4
I have a system that defines the url according to the link that the user clicks, and makes an ajax request and brings the content only that the url disturbs the request.
For example: The user clicks on a link and the url is modified to localhost/urlclickada
but the ajax request should go to localhost/sys/funcoes.php
and she goes to localhost/urlclickada/sys/funcoes.php
.
I’ve tried to put bar in front of url $.post("/sys/funcoes.php")
or $.post("../sys/funcoes.php")
.
without seeing your code, impossible to help...
– Jader A. Wagner