Shivang Shivang - 2 years ago 63
jQuery Question

get the url from which the ajax call has been made in the ajax function

For example,
I have an

request from the page
to the function controlling

Is there any way except sending it through the parameters so that I could know that in the function I can fetch
and realise that the ajax request came from here?

Answer Source

If the server wants to know from which page, or the server's location, then you can use this in the end, if PHP:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download