Will does the referrer domain in include and clicked via jquery from another domain?

The website domain.ru includeda form from the website domain2.ru

<script> $(document).ready(function() {
$('#pay').load('https://domain2.ru/form.html');
});</script>


This form included on domain.ru with domain2.ru.
<form action="https://domain3.ru/post.xml" method="post">
<input type="submit" value="Continue">


When you click submit the referrer what site will be transferred?
Referrer site where the form is loaded and clicked, domain.ru or where it is directly located domain2.ru?
April 4th 20 at 13:27
1 answer
April 4th 20 at 13:29
Solution
The referrer page where the form is located. And form it does not matter where it came from on the page, was immediately, came via ajax or created from scratch JS-ohms.

PS. not to be confused with the IFRAME-s.
Located in the sense of the "form code"?
Or located in the loaded sense? (on which it is displayed via js)

If the referrer of the page where it is loaded using js, then what method can it be downloaded to the referrer was exactly on the page where is the code? The Iframe? - Waldo commented on April 4th 20 at 13:32
@Waldo, located in point in DOM. Here is the address of this document will be the referrer. - rasheed19 commented on April 4th 20 at 13:35
@rasheed19, Sorry, the term DOM is not familiar, Google quickly did not help. - Waldo commented on April 4th 20 at 13:38
@Waldo, https://ru.wikipedia.org/wiki/Document_Object_Model - rasheed19 commented on April 4th 20 at 13:41

Find more questions by tags JavaScriptjQueryWeb Development