Hi,
i have two files. In first (parent, address: www.myaddress.com/fun/test.php) is jQuery function:
<script type="text/javascript">
$(function(){
$(document).ready(function()
{
import_f = setInterval(function()
{
$('#file').load('fun2.php?id='+ Math.random());
}, 5000);
});
});
</script>
When i print in fun2.php file full page address, i get: /fun2.php?id=0.31089064538474454.
How get paren page address. (www.myaddress.com/fun/test.php).
Parent's address may always be another, so I need to find a function that.
Thanks