How to use $ .getScript ("") with sending referrer?

I am successfully retrieving a script using

$( document ).ready(function() { $.getScript("http://example.org/script.js"); }); 

However, he always sends an empty referrer to example.org. My question is, what is the correct approach for sending a referrer when using this function programmatically?

+4
source share
1 answer

You can use $ ('. Test'). load (url)

0
source

All Articles